Given this maze with two exits, find out the number of steps (left, right, up and down), including the step out of the maze, from the worst point inside, i.e, the point from which it takes the longest to get out.
The maze is presented in an obvious format. Absence of
|
or
-
represent absence of walls. Walls on the boundaries which are absent are exits.
To clarify, the title image is a joke. It has got nothing to do with the maze the problem links to .
Example
The worst point of the following maze is the lower left corner. It takes 9 steps to get out from that point
1 2 3 4 5 6 7 |
|
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Maze longest path