AlgoViz

Dijkstra's algorithm

medium 22 min

Dijkstra's algorithm finds the shortest distance from one source to every node of a graph whose edge weights are non-negative.

Practice

3 problems with hidden tests. Python runs in your browser.

Loading problem…
Loading problem…
Loading problem…