Tree bottom view

one test case is wrong

Hey @AY_Codess
try for this input
20 8 22 5 3 4 25 -1 -1 10 14 -1 -1 -1 -1 -1 -1 -1 -1
correct output is : 5 10 4 14 25
your code gives : 5 10 4 22 25