Vertical Order Traversal of a Binary Tree

Problem overview from a real Uber interview:

Sort up to 1000 nodes by column and row index from left to right and top to bottom, breaking ties by value. Seen in an Uber interview as LC 987.

Check more interview questions and experiences about Uber

Please log in to view interview details