its not passing testcases if i backtrack else it pases why
Why giving wrong
Hey @Namanjain123
Your code was not correct. I have made some changes here. Please see them https://ide.codingblocks.com/s/191616.
If your doubt is resolved please mark it as closed.
if i just comment out backtrack statement in my code its working fine and passed all testcases
1 Like
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.