In the base case of this problem, before returning true, we should have also written
soln[m][n]=0;
(Backtracking )
Rat in a maze problem using recursion
could you please explain
In the base case of this problem, before returning true, we should have also written
soln[m][n]=0;
(Backtracking )
could you please explain