actually when we back track we do sol[I][j]==0;and on base case we update solm][n]==1 then how other elements of sol[i][j] except sol[m][n] got updated and
also i think we solved question taking it as m+1*n+1 grid ?
actually when we back track we do sol[I][j]==0;and on base case we update solm][n]==1 then how other elements of sol[i][j] except sol[m][n] got updated and
also i think we solved question taking it as m+1*n+1 grid ?
hi @mvarun975_a7021058d653891d u are going on updating the matrix from start that’s how its its finally all one till last index.
no its m*n
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.