What is the best way to represent and solve a maze given an image? Given an JPEG image (as seen above), what’s the best way to read it in,...
You probably should module your program – as I can understand it, you are reading the maze from file and trying to solve it at the same time. A better approach...