X Interview Question

Strongly connected components in graph to get transitive closure. KMP string matching, and 2 easy problems.