Why I am getting 2 test cases failed?
Rat in a Maze Problem
Read the question properly. We have to find the rightmost part out of all available paths.
First check for right path and then for down path.
Rest of your code is correct.
Hope this helps
Thanxx a lot Shivansh