← Back to Gallery

Recursive Backtracking Maze

Depth-first search carves the maze. Then BFS solves it from top-left to bottom-right.

Phase: -