Three-Color DFS Algorithm
Gray - Unvisited
Yellow - In Progress
Green - Completed
Step 0 / 19
DFS Stack:
Empty - Click "Next Step"
Top of Stack
Current Action:
Click "Next Step" to begin DFS traversal.
Cycle Detected!
Back edge: Recursion → Loops
Cycle: Loops → Recursion → Loops