my code giving wrong answer for 2nd and 3rd test case.any mistake here??
Rat_Chases_Cheese_WrongAnswer
@rajukumarbhui Consider a test case:
5 7
OXOOOOX
OXOXOXX
OXOXOOX
OOOXOXX
XXOXXXX
Your o/p:
1 0 0 0 0 0 0
1 0 0 0 0 0 0
1 0 0 0 0 0 0
1 1 0 0 0 0 0
0 0 0 0 0 0 0
Expected O/P:
NO PATH FOUND
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.