Apply Dijkstra's algorithm to find shortest paths in a weighted graph.
Apply Dijkstra’s algorithm to a weighted undirected graph with vertices and the following edges:
Determine the order in which vertices are selected and the final shortest distances from vertex 1 to all other vertices.
[6]