Topic: Graph Theory Problem / Level: advanced

Problem: Write a program to check if a directed graph contains any back edges using DFS.

Run the code to see the output here...