Question: What is the main advantage of using Dijkstra\'s algorithm over brute-force methods?
Options:
Correct Answer: It guarantees the shortest path in polynomial time
Solution:
Dijkstra\'s algorithm is more efficient than brute-force methods, as it guarantees finding the shortest path in polynomial time.