Graph Theory37 sections · 1633 units
Open in CourseQuiz: Negative Cycles
Knowledge check
Check Your Understanding
Bellman-Ford detects a negative cycle. Does this mean shortest paths don't exist for ALL nodes?
- A.Yes, no shortest paths exist anywhere
- B.No, only nodes reachable from the cycle are affected
- C.No, only nodes where the source can reach a negative cycle that can reach the target
- D.No, only nodes that can reach the cycle are affected