Guided lesson

Dijkstra Shortest Path

Graphs

See the input

Intermediate

Input for Dijkstra Shortest Path: Always expand the currently closest known node using a priority queue.

A
B
C
D
E
Step 1 O((V + E) log V) time - O(V) space
Guided progression
6% lesson
Step 1 / 2Learner goal
Speech settings Speed 1.0 · Volume 90%

Keyboard: Space play/pause · Arrow keys step · Page Up/Down change sections · R restart