The algorithm can handle graphs with negative edge weights, but it cannot handle graphs with negative cycles (i.e., cycles with a total negative weight).
If a negative cycle exists, the algorithm will detect it.
Time complexity: O(n^3)
Space Complexity: O(n^2)
In-place computation
Applicability: The Floyd-Warshall algorithm has various applications, such as finding the shortest paths in transportation networks,
solving all-pairs shortest path problems, and detecting negative cycles in graphs.