Maze Tree Surgery
Click a cell to regrow its subtree
New maze
DFS
Wilson
Kruskal
Prim
Show tree
Solution
Click any cell to select a node in the spanning tree. The subtree rooted at that node (toward leaves, away from entry) is erased and regrown randomly. The maze remains a perfect maze.