Rat in a maze backtracking


not passing all test cases

hi @shiniagarwal25

make size of array according to constraints

Constraints

1<=N,M<=1000 GRID(i,j)=‘X’ or ‘O’

after making array of size 1002X1002 all testcases are passing

Modified Code

i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course