Topic: Graph Theory Problem / Level: intermediate

Problem: Write a program to find the number of edges in a directed graph that form a cycle.

Run the code to see the output here...