Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to print all vertices with degree 3 in an undirected graph.

Run the code to see the output here...