Question: What is the purpose of the \'visited\' array in Dijkstra\'s algorithm?
Options:
Correct Answer: To track the vertices that have been processed
Solution:
The \'visited\' array in Dijkstra\'s algorithm is used to track which vertices have been processed to avoid reprocessing them.