What would you like to share? Implement Dijkstra's algorithm for finding shortest paths from a source vertex to all other vertices in a weighted graph.