please guide on what to improve in this code of printing bottom view of a tree
Only passed 2 test cases
hello @mahfoozhaque91
ur bottom view function is correct.
check ur build function that might be creating issue.
u just have to do level order traversal for building tree.
check ths->
alright sir i got the approach thanks
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.