Chapter 40 Flashcards
1
Q
How we can prove the correctness of Dijkstra’s algorithm
A
Induction
2
Q
What is Bellman-Ford Algorithm
A
It is just like Dijkstra algorithm with a difference that it allows negative values. It is slower than Dijkstra
3
Q
Does Bellman-Ford based on relaxation like Dijkstra
A
Yes