Topic: Graph Theory Problem / Level: intermediate

Problem: Write a program to calculate the number of paths from a source to a target in a directed acyclic graph.

Run the code to see the output here...