Dijkstra's algorithm
Dijkstra's algorithm for the shortest path problem.