Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to print all vertices with degree greater than 2 in a directed acyclic graph.

Run the code to see the output here...