101 Logo
onenoughtone

Interactive BFS Visualization

Graph Traversal

Watch how BFS traverses a graph, visiting all vertices at the current level before moving to the next level.

Interactive Visualization:

BFS Graph Traversal Visualization
Unvisited
Queued
Visiting
Visited

Step 0 of 37: Initial state

Shortest Path Finding

See how BFS finds the shortest path between two vertices in an unweighted graph.

Interactive Visualization:

BFS Shortest Path Visualization
Unvisited
Queued
Visiting
Visited/Path

Step 0 of 29: Initial state

Level Order Tree Traversal

Explore how BFS traverses a tree level by level, visiting all nodes at each level before moving to the next level.

Interactive Visualization:

Level Order Tree Traversal Visualization
Unvisited
Queued
Visiting
Visited

Step 0 of 23: Initial state

IntroVisualizePatternsPractice
101 Logo
onenoughtone