Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to find the number of edges in a directed acyclic graph (DAG).

Run the code to see the output here...