Only 1 test case is passing


Please tell mistake in code.

Pls someone help if possible.

hi @asaurabh_26,

Sir i have made the same function but used node* return type instead of void

Sir doubt clear i did a small mistake in it , thanks.

@ujj1804_1156aee80205d0bf
write “True” as “true” (all small)

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.