Topic: Graph Theory Problem / Level: intermediate

Problem: Write a program to calculate the number of strongly connected components using Tarjan’s algorithm.

Run the code to see the output here...