Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to find the shortest cycle in a weighted directed acyclic graph using DFS.

Run the code to see the output here...