original_query: What is the purpose of Tarjan's strongly connected components algorithm?
query: What is the purpose of Tarjan's strongly connected components algorithm?
answer: Tarjan's strongly connected components algorithm finds the strongly connected components (SCCs) of a directed graph.  Each vertex appears in exactly one SCC.  A vertex not on a directed cycle forms its own SCC.