Current path
Current cell
Backtracking
Found path
Wall

Controls

Click cells to toggle walls.

Time: O(4^(V)) worst | Prune with visited set

Steps

0 steps

Press Find Paths to trace the algorithm one step at a time.