Topic: Graph Theory Problem / Level: beginner

Problem: Implement a function to print all vertices that form a cycle in a directed graph using adjacency lists.

Run the code to see the output here...