Dijkstra's Shortest Path
🗺️ Graph Selection
Playback Controls
Speed: 1000ms
Frame 1 of 0
🗺️ Graph Selection
Graph Info:
Nodes: 4
Edges: 5
Type: Directed
Playback Controls
Speed: 1000ms
Frame 1 of 0
Shortcuts: Space (play/pause), ← → (step), R (reset)
Select start and target nodes to begin
Time Complexity: O((V + E) log V)
Space Complexity: O(V)
Legend
NODES
Current
Visited
Tentative
Shortest Path
EDGES
Shortest Path
Being Relaxed
Visited Connection
Regular
Time: O((V + E) log V)
Space: O(V)