The Dijkstra's algorithm

finding the shortest path to a destination from a single source