...

/

Quiz: All-Pairs Shortest Paths

Quiz: All-Pairs Shortest Paths

Test your understanding of the concepts covered in the all-pairs shortest paths chapter.

We'll cover the following...
1

What is the purpose of reweighting the graph using the price function in Johnson’s algorithm?

A)

To avoid negative edges

B)

To eliminate all tense edges

C)

To make sure all the weights are non-negative

D)

To make sure all the weights are negative

Question 1 of 50 attempted