not getting the desired output.Code is for the vertical order traversal of a binary tree
Binary tree vertical order traversal
Hi Yash, read the question properly. The input format states that the given input is level order traversal of the tree. You are taking input as preorder.