Concept Flow - Bellman Ford Algorithm Negative Weights
Initialize distances
Repeat V-1 times: Relax all edges
For each edge: if distance can be improved, update it
Check for negative weight cycles
If found: report negative cycle
Else: shortest distances finalized
The algorithm initializes distances, relaxes edges repeatedly, then checks for negative cycles.
