Graph Theory37 sections · 1633 units
Open in CourseQuiz: Negative Cycle Reachability
Knowledge check
Check Your Understanding
Your graph has a negative cycle, but the destination node is not reachable from that cycle. What does Bellman-Ford report for the destination?
- A.Negative infinity
- B.An arbitrarily large negative number
- C.The correct shortest path distance
- D.The algorithm crashes and produces no output