G7 · Specialist · 8 min
Shortest Maze
The first map pins start and end. Run BFS and read the distance on every cell as the wavefront expands. Later maps: click an open cell for S, another for E, then run. Reach the exit to score — the number on E is the answer.
distance
—
Start (S) and end (E) are pinned. Run BFS and watch distances fill the wavefront.