one of the test cases is showing run error and one is getting wrong.
Rat in a maze problem
hi @aastha2711 you have to check for down path ONLY IF the right path is false, right now you are checking both of them regardless of whether it returned true or false.

1 Like