Question: What is the primary purpose of the priority queue in Dijkstra\'s algorithm?
Options:
Correct Answer: To efficiently retrieve the next vertex with the smallest distance.
Solution:
The priority queue is used to efficiently retrieve the next vertex with the smallest distance estimate during the algorithm\'s execution.