Question: 36
(Choose 1 answer)
Given a weighted graph below and you are using the Dijkstra algorithm to find the shortest path from the vertex A to
the vertex C. What are the correct order of vertices selected into the set S until the vertex C is selected? (Each
step a vertex with minimal current distance is selected into S).
A. A, B, C
B. A, B, D, C
C. A, B, D, E, C
D. A, B, E, C
2
10
20
5
4
10