Also called Floyd-Warshall algorithm and All-pairs shortest paths.
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 floyd-warshall, every pair's own run on the numbers shown.
choose one
1question 1
How many pairs does the run try on this line of 5 places?
the answer, and why
the answer is B
5 stops, 4 places to start from and 3 to end at each, so 5 times 4 times 3, which is 60.
if you chose another
AThat is a map of 4 places.
CThat is 5 times 5 times 5, the ceiling, which also counts the choices that share a place.
DThat is the ways made shorter, not the pairs tried.