Concept Flow - Dijkstra's algorithm
Start at source node
Initialize distances: source=0, others=∞
Mark all nodes unvisited
Select unvisited node with smallest distance
For each neighbor of selected node
Calculate new distance via selected node
If new distance < current distance, update it
Mark selected node as visited
Repeat until all nodes visited or smallest distance is ∞
End: shortest distances found
Dijkstra's algorithm finds the shortest path from a start node to all others by repeatedly selecting the closest unvisited node and updating distances.