Topic: Graph Theory Problem / Level: beginner

Problem: Implement a function to check if a graph contains any self-loops using adjacency matrices.

Run the code to see the output here...