Rat in a maze prob

suppose we have 2X3 matrix where top right is crossed…so could u plz do the dry runvof program by callstack…(my answer is coming out different)

I mean jaisi hi base case hit hua…i=1,j=2 soln print hua …and fir return hua to previous stack ki value(i=1,j=1) hai…then fir down ka check hua…vo false hua…and fir jb backtrack hua to (i=1,j=1) zero hoga…so (i=1,j=2) to zero hua hi nhi

plzz tell me where i am going wrong here…

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.

I mean…are u crazy…where is the solution to my doubt…?