paper

Finding Strong Components Using Depth-First Search

arXiv:2201.07197

Abstract

We survey three algorithms that use depth-first search to find the strong components of a directed graph in linear time: (1) Tarjan's algorithm; (2) a cycle-finding algorithm; and (3) a bidirectional search algorithm.

27 pages. In memory of Pierre Rosenstiehl. A slightly revised version