Loading repovive.com/problems/classics/42
Given a directed graph with vertices and edges, find the number of strongly connected components (SCCs).
A strongly connected component is a maximal set of vertices such that there is a path from every vertex to every other vertex within the set.