SYS:ACTIVE

MAZELAB

v2.0

Algorithm Pathfinding Visualizer

0ms 50ms
Start
End
Maze Path
Explored
Solution
01

Depth First Search

DFS
Explored --
Path --
Time --

Explores as deep as possible along each branch before backtracking. Trades optimality for memory efficiency.

02

Breadth First Search

BFS
Explored --
Path --
Time --

Explores all neighbors at the current depth before moving deeper. Guarantees the shortest path.

03

Bidirectional BFS

BDS
Explored --
Path --
Time --

Two simultaneous searches from start and end, meeting in the middle. Dramatically reduces search space.