Computer scienceAlgorithms and Data StructuresAlgorithmsGraph algorithmsShortest path algorithms

Bellman–Ford algorithm

Guess the output

Report a typo

Consider the directed graph:

What is the output of the Bellman-Ford algorithm?

Let the array of shortest paths be in the following order: d1,  d2,  d3,  d4,  d5d_1, \;d_2, \;d_3, \; d_4, \; d_5. What is the output of the Bellman-Ford algorithm if node 11 is picked as the source node?

Select one option from the list
___

Create a free account to access the full topic