Please correct my code as 2 test cases are failing.
Please help me in correcting my code
hello @kodivine0
please save ur code here-> https://ide.codingblocks.com/
and share the link with me
u have doubt in problem rat chases its cheese or rat in a maze?
rat chases cheese problem
ok , see this problem is different from rat in maze problem,so u cannt use same code here .
how it is different?
in this problem rat can move in all four directions-> up - down-left-right
but in that it can only move in 2 directions-> right-down.
so make approriate changes in ur code and then try
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.