This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingConcept theory, tags and interview notes for Bellman-Ford: detect a negative cycle.
What this asks
Handle negative weights and spot negative cycles.
Relax every edge one round per vertex; one more pass that still improves something proves a negative cycle.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing