02
Reasoning
·
Breadth Reasoning
Breadth-First Search
⏱
O(V+E)
◧
O(V)
A
B
C
D
E
F
G
Queue (front → back)
A
Step
1
/ 35
Speed
0.5×
1×
2×
4×
Speed
0.5×
1×
2×
4×