Floyd-Warshall
Does Floyd-Warshall Algorithm work on graphs with negative edges?
AtCoder Beginner G problems upsolving