Topic: Graph Theory Problem / Level: beginner

Problem: Implement a program to count the number of self-loops in a graph.

Run the code to see the output here...