Pattern2 visualizers
Graphs / Traversal Pattern Visualizers
The Graphs / Traversal pattern is a recurring algorithmic shape that appears across coding interviews and competitive problems. Use it when the problem geometry matches its trigger conditions — recognizing the pattern collapses what looks like a hard problem into a familiar template. These visualizers trace Graphs / Traversal step-by-step on classics such as Breadth First Search (BFS), Depth First Search (DFS), so you can internalize the moves before you ever need them under pressure.
Graphs
Breadth First Search (BFS)
Generic Level-Order Graph Traversal starting from a given node. Essential foundation for shortest path algorithms.
Open visualizer →
Graphs
Depth First Search (DFS)
Generic Graph Traversal that dives deep into branches before backtracking. Foundational for cycle detection and topological sort.
Open visualizer →