Question: In Dijkstra\'s algorithm, what role does a priority queue play?
Options:
Correct Answer: To select the next vertex with the smallest distance
Solution:
Dijkstra\'s algorithm uses a priority queue to efficiently select the next vertex with the smallest distance from the source.