Question: For this project, you get to write a maze solver. A maze is a two dimensional array of chars. Walls are represented as '#'s and
For this project, you get to write a maze solver. A maze is a two dimensional array of chars. Walls are represented as '#'s and ' ' are empty squares. The maze entrance is always in the first row, second column (and will always be an empty square). There will be zero or more exits along the outside perimeter. To be considered an exit, it must be reachable from the entrance. The entrance is not an exit.
How would I code a recursive program that would find all the possible exists of a maze and display their position in java?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
