see my code and please help me
How to print only one output i.e. only the right one
when i am trying to print only one output the backtracking is going wrong as in this code
@Ignitor
In your first code , add this statement
if(right) return true;
after you make the call for the right part. This will work fine.
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.