Why Error please check

@rssrivastavarohan hey,apka bfs traversal ka code to bilkul sahi hai ,ap build wala function check kro and input dekhna sahi dal rhe ho ya nhi,please check that.

@rssrivastavarohan hey apne bfs traversal me data print krne ke bad pop nhi kia ,mene code correct dia hai ,please see to it:


Happy coding.

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.