Data Structures and Algorithms ยท Graphs

Dijkstra's algorithm

Finding the cheapest path from one vertex to all others when no edge weight is negative.

Also known as: single-source shortest path, non-negative weighted shortest path.

Start a lesson on Dijkstra's algorithm

Learn first

Related topics