The earliest algorithm for finding strongly connected components is a natural extension of depth-first search and is attributed to a 1972 paperTarjan, R. E. “Depth-first search and linear graph algorithms.” SIAM Journal on Computing 1, no. 2 (1972). by Robert Tarjan.

Get hands-on with 1200+ tech skills courses.