Question: What is the main advantage of Dijkstra\'s algorithm over the Bellman-Ford algorithm?
Options:
Correct Answer: It is faster for graphs with non-negative weights
Solution:
Dijkstra\'s algorithm is generally faster than the Bellman-Ford algorithm for graphs with non-negative weights.