Shouldn't be the base case

why the base case should be like this if(i==m || j==n) and not if(i==m-1 || j==n-1)???

in the video bhaiya has called the fn on
ratInMaze(maze, 0,0, m-1,n-1)
so he`s already sent reduced values
if 33 matrix was there he has sent 22
so the condition becomes i == m and j == n
image
if u send
ratInMaze(maze, 0,0, m,n)
then the case condition will be i == m-1 and j == n-1

u have to use && operator and not ||