Question: What is the role of the \'visited\' set in Dijkstra\'s algorithm?
Options:
Correct Answer: To keep track of the nodes that have been processed
Solution:
The \'visited\' set in Dijkstra\'s algorithm keeps track of the nodes that have already been processed to avoid reprocessing them.