Two test cases failing

What are the test cases my code is failing for and why please check (do not just give me the correct answer).

By using a post order approach , i am able to reduce the failing test cases to 1 , what is just the one tc it is failing for . can u please check

Edit:


Another interesting version of code with 1 tc failing.

This approach to solve bottom view is wrong

image

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

ok got it …

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.