Learn DSA
Home
Learning Path
Data Structures
Algorithms
Home
Learning Path
Data Structures
Algorithms
Loading...
Back to DFS
DFS Simulation
Graph & Controls
Add Node
Reset
Play
Speed
Step 1/1
Drag nodes, double-click empty space to add, click two nodes (select then another) to toggle edge.
N1
/
N2
/
N3
/
N4
/
State
Press Play to simulate DFS.
Explanation
Active (current recursion)
Discovered (GRAY)
Finished (BLACK)
Undiscovered (WHITE)
Continue Learning
Theory
Graph Overview