Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to calculate the transitive closure of a directed graph using DFS.

Run the code to see the output here...