Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to print all vertices that form a simple cycle in a directed graph using adjacency matrices.

Run the code to see the output here...