AKUNA CAPITAL interview question

Algorithm to count the strongly connected components in a graph