Topic: Graph Theory Problem / Level: beginner

Problem: Implement a function to find the total number of edges in a directed acyclic graph (DAG).

Run the code to see the output here...