Topic: Graph Theory Problem / Level: beginner

Problem: Implement a function to find the shortest cycle in an undirected graph using BFS.

Run the code to see the output here...