i,m not getting what is the error
Rat in a maze__
Hi @rishaseth123
You are just moving right to check for answer using rightsucces but you have to move down also by using
bool downsucces = ratInMaze(maze, sol, i+1, j, n, m);.
Here is your corrected code :