Bloomberg logoBloomberg
Coding·60 minMembers

Binary Tree Vertical Order Traversal

Members only

Group binary-tree node values by their column index (left of root negative, right positive) and return columns left-to-right, with each column's values in top-to-bottom level order. Watch the tie-brea...

SWE
tree
bfs
tree-traversal
hashmap
medium
Frequency
Single report
Last asked
2026-01-04
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...