SyntaxFix
Write A Post
Hire A Developer
Questions
Tarjan's strongly connected components algorithm has O(|E| + |V|) time complexity.
O(|E| + |V|)
For other algorithms, see Strongly connected components on Wikipedia.