314 Binary Tree Vertical Order Traversal
314. Binary Tree Vertical Order Traversal
1. Question
3 /\ / \ 9 20 /\ / \ 15 7[ [9], [3,15], [20], [7] ]3 /\ / \ 9 8 /\ /\ / \/ \ 4 01 7[ [4], [9], [3,0,1], [8], [7] ]3 /\ / \ 9 8 /\ /\ / \/ \ 4 01 7 /\ / \ 5 2[ [4], [9,5], [3,0,1], [8,2], [7] ]
2. Implementation
3. Time & Space Complexity
Last updated