My output is correct but it is not accepted

My output when compiled is exactly same as the output given in the question but when i submit my code then it is not accepted please check it

u have to keep on adding nodes to tree one by one as u read it…
refer this -->

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.