Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to print all vertices in a graph that belong to cycles.

Run the code to see the output here...