Dijkstra's algorithm

Dijkstra's algorithm finds shortest paths from a source vertex in a weighted graph with nonnegative edge weights. It repeatedly finalizes the unsettled vertex with the smallest known distance.

Connect