Graph Pattern Visuals
Visualise BFS and DFS
Two separate interactive hubs for graph and grid traversal patterns. Use BFS for levels, distances, queues, and shortest paths. Use DFS for recursion, call stacks, components, cycles, topo order, and backtracking.
Queue, levels, distance
Graph BFS, islands, multi-source BFS, level BFS, boundary BFS, shortest path, 0-1 BFS, state-space BFS, bipartite, and Kahn topo sort.
multi-source
boundary
shortest path
0-1 BFS
Open BFS hub
Call stack, cycles, paths
Recursive DFS, iterative DFS, flood fill, island area, boundary DFS, undirected and directed cycle detection, bipartite coloring, topo sort, and backtracking.
call stack
cycle detection
toposort
backtracking
Open DFS hub