Question: How does Dijkstra\'s algorithm ensure that it finds the shortest path?
Options:
Correct Answer: By always choosing the nearest unvisited vertex
Solution:
Dijkstra\'s algorithm ensures it finds the shortest path by always choosing the nearest unvisited vertex, which is a key aspect of its greedy approach.