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 H to
the vertex T. What are the correct order of vertices selected into the set S until the vertex T is selected? (Each
step a vertex with minimal current distance is selected into S).
A. H, A, B, D, T
B. H, B, D, T
C. H, C, T
D. H, A, B, C, T
4
1
7
4
H
6
5
6
6
2
T