Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to check if a directed graph contains any cycles.

Run the code to see the output here...