Depth First Search Visualization & Animation
Category: algorithms
Difficulty:
intermediate
graph
dfs-connectivity
View Depth First Search Visualization
G
Back to Visualizations
Depth First Search
intermediate
GFG
LeetCode
Overview
Visualization
visited:
[ ]
Visited
0
Edges
0
Depth
0
A
B
C
D
E
F
G
✥
drag nodes
∅
Empty
BOTTOM
Starting DFS from node A. We'll explore as deep as possible before backtracking — like solving a maze by always turning left.
0.5×
1×
1.5×
2×
1 / 41
Home
Courses
Visualize
Interview
More