Question: What is the main advantage of using a priority queue in Dijkstra\'s algorithm?
Options:
Correct Answer: It ensures that the node with the smallest distance is processed next
Solution:
Using a priority queue allows Dijkstra\'s algorithm to efficiently retrieve and process the node with the smallest tentative distance next.