Sir one test case is failed, can you tell why?
Regarding a test case
this code is for tree vertical order
do you have further doubt in this problem ? as i have recently replied to your another doubt on same problem
Actually sir this is bottom view problem. I was not passing a case in this.
I applied that vertical traversal logic only.
Can you rectify that?
This approach to solve bottom view is wrong
but your output is
5 10 3 22 25
you have to do some modifications in your code
you can check out my code for reference
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.