Graph Theory37 sections · 1633 units
Open in Course

Quiz: Relaxation and Iterations

Knowledge check

Check Your Understanding

You have a graph with 66 nodes. After running Bellman-Ford, you find that a distance value changes on the 66th iteration. What does this tell you?

  1. A.The shortest path has exactly 66 edges
  2. B.A negative-weight cycle is reachable from the source
  3. C.The algorithm needs one more iteration to converge
  4. D.The graph has exactly 66 edges
Start the roadmap to answer the quizzes and solve the challenges