Why is this not showing full tree?

Hey @ayushi1150 can you please give me more brief about the issue you are facing, so that I can help you :slight_smile:

sir i was trying with this test case 8 10 1 -1 -1 6 9 -1 -1 7 -1 -1 3 -1 14 13 -1 -1 -1

but this is not showing the whole tree

Hey @ayushi1150 you aren’t getting any output because of your sumreplace function. Try to point your mistake if you are not able , then do let me know :slight_smile:

i am getting the output but i am not getting the whole tree

What issue you are facing now?

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.