Question: How does Dijkstra\'s algorithm ensure that the shortest path is found?
Options:
Correct Answer: By using a greedy approach
Solution:
Dijkstra\'s algorithm uses a greedy approach, always expanding the least costly node first, ensuring that the shortest path is found.