Rat in a Maze-WA

Wrong answer in 2 test cases.

@avikaldarolia7 you have find rightmost path first if exist then you have to go downward,in your recursive call first change sc+1 then in second call change sr+1 and you are good to go.

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.