Given the root of a binary tree, return the vertical order traversal of its nodes’ values, organized column by column from top to bottom.
For any two nodes that share the same row and column, they should appear from left to right in the output.
Constraints:
The number of nodes in the tree is in the range
Node.val
Given the root of a binary tree, return the vertical order traversal of its nodes’ values, organized column by column from top to bottom.
For any two nodes that share the same row and column, they should appear from left to right in the output.
Constraints:
The number of nodes in the tree is in the range
Node.val