Bottom view of a tree

only one test case not left. can you help

hi @sraj39273,
try this
14 14 3 -1 8 8 12 -1 6 17 3 -1 1 11 10 -1 6 6 13 -1 10 17 7 -1 11 7
ans is 7 6 7 13 11 10

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.