What is the error in this code? Some test cases are not getting passed.
VERTICAL ORDER BINARY PRINT
Hey @AbhilashaBansal
Your code is failing this test case
Try to debug yourself once
Q : 4 1 2 3 4 5 6 7 -1 -1 -1 -1 -1 8 -1 9 -1 -1 -1 -1
A :
4
2
1 5 6
3 8
7
9