How does Floyd–Warshall handle negative edge weights?
- Ignores negative edges
- Finds shortest paths even with negative edgesAnswer
- Converts negative edges to zero
- Throws an error
Source: OTHER HEC NSCT — 4 Apr 2026found on TestPoint
Explanation coming soon.
