Topic: Graph Theory Problem / Level: intermediate

Problem: Implement an algorithm to calculate the degree of each vertex in a directed graph.

Run the code to see the output here...