Question: In Dijkstra\'s algorithm, what condition must be met for a vertex to be added to the set of visited vertices?
Options:
Correct Answer: It must have the smallest edge weight
Solution:
In Dijkstra\'s algorithm, a vertex is added to the set of visited vertices when it has the smallest tentative distance from the source vertex.