Bellman-Ford Algorithm
Single-source shortest paths with negative edge weights
Click "Next Step" to begin the Bellman-Ford algorithm
Unvisited
Relaxing
Updated
Finalized
Negative Edge
Reset
← Previous
Next Step →
Auto Play
Iteration
—
Edge Being Relaxed
—
Distances
—