4
12
22
8
F
6
2
3
12
(Choose 1 answer)
Given a weighted graph below and you are using the Dijkstra algorithm to find the shortest path from the vertex B to the vertex F. What are the correct order of vertices selected into the set S until the vertex Fis selected? (Each step a vertex with minimal current distance is selected into S).
A. B, C, D, E, F
B. B, C, F
C. B. C. D. F
D. B, C, E, F
ORish
Q: 25