Topic: Graph Theory Problem / Level: intermediate

Problem: Write a program to check if a directed graph contains any cycles using the Floyd-Warshall algorithm.

Run the code to see the output here...