The problem “top view” has accepted my submission completely. But the same method got 0 points in hackerrank.
For example-
Take the BST formed by the following input-
1, 14, 3, 7, 4, 5, 15, 6, 13, 10, 11, 2, 12, 8, 9
Please do check the test cases.