Can you please check my code
@aryaman.kumar26 your code has many small mistakes, please follow what error compiler is showing you and update your code accordingly.
can you please check
when you found a path before printing the maze make out[n-1][m-1]=1;
but sir it not showing all the cases
like in the m-1 column it is always showing 0 rather there are cases when row 1 and 2 should be 1
@aryaman.kumar26 that is because in if condition at line 16 of your code you have compared i with m-1 and j with n-1 but it should be opposite.
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.