Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to find the smallest connected component in an undirected graph.

Run the code to see the output here...