Topic: Graph Theory Problem / Level: beginner

Problem: Implement a function to print the degree of each vertex in a directed acyclic graph.

Run the code to see the output here...