Breadth-First Search (BFS) Visualizer — Step-by-Step Interactive Animation
Watch BFS in action step-by-step. Explores neighbors level-by-step. Now supports target-node searches, predecessor path highlighting, and unweighted shortest path reconstruction.
How to Use the Breadth-First Search (BFS) Visualizer
- Click Play to start the animation or use Step Forward for manual control.
- Adjust the speed slider to slow down or speed up the visualization.
- Use Custom Input to visualize with your own data.
- Click Code to view the implementation in JavaScript, Python, Java, C, or C++.