02
Reasoning
·
Depth Reasoning
Depth-First Search
⏱
O(V+E)
◧
O(V)
A
B
C
D
E
F
G
Stack (top ↓)
A
Step
1
/ 35
Speed
0.5×
1×
2×
4×
Speed
0.5×
1×
2×
4×