Tree bottom view 1 test case failed


1 test case is failing please tell me the problem

@gauravmadan583 hey gaurav check for this case
20 8 22 5 3 4 25 -1 -1 10 14 -1 -1 -1 -1 -1 -1 -1 -1
your output is
5 10 4 22 25
but output is
5 10 4 14 25
So do try to check it with your code.

how can i correct my code.

@gauravmadan583 hey gaurav please can you please tell me is that your doubt is resolved

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.