Front frontier
Back frontier
Front visited
Back visited
Meeting point / path

Controls

Click cells to toggle walls.

Time: O(b^(d/2)) vs O(b^d) for normal BFS

Steps

0 steps

Press Run to trace the algorithm one step at a time.