Menu
×
×
Correct!
Exercise:How does the Bellman-Ford algorithm work? (V is the number of vertices in the graph.)
The Bellman-Ford algorithm
finds the shortest paths
by basically just checking
(relaxing) all edges V-1 times.
Not CorrectClick here to try again. Correct!Next ❯The Bellman-Ford algorithm finds the shortest paths by basically just checking (relaxing) allV-1 times. |