← CS_basics
Visualizer
/
Bellman-Ford
🌙
Bellman-Ford Algorithm
Shortest paths with negative weights. Detects negative cycles. LC 787.
Unvisited
Relaxing edge
Updated
Shortest path
Controls
Nodes:
6
Speed
Run
New Graph
Time: O(V·E) | Space: O(V)
Steps