one test case showing no output?
Rat chases its cheese
Hello @Vibhuti0206,
You have applied the conditions wrong and your code is not working for the case when there is not path:
Example:
5 7
OXOOOOX
OXOXOXX
OXOXOOX
OOOXOXX
XXOXXXX
I have modified your code:
Hope this would help.
Give a like if you are satisfied.
why is it wrong? what are the modifications required?
could you either mmodigy my code or please explain the logic behind yours?
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.