Also called Bellman-Ford algorithm and Single-source shortest paths with negative lengths.
fresh numbers
The test's questions that a run answers, asked again on new numbers whenever you like. The answer, its working and the reason for every other choice come from bellman-ford shortest paths's own run on the numbers shown.
choose one
1question 1
On this line from E, how many roads does the run look along?
the answer, and why
the answer is B
Round 1 looks along all 3 roads and round 2 along all 3 again, finding nothing shorter.
if you chose another
AThat is round 1 alone. A round must make nothing shorter before the run stops.
CThat is the same line backwards.
DThat is , the ceiling on any map of 4 places and 3 roads.