GraphsExplained
Strongly Connected Components
Maximal groups of nodes that can all reach each other.
Time
O(V + E)
Extra space
O(V)
Use it for
Condensing a directed graph.
Maximal groups of nodes that can all reach each other.
Time
O(V + E)
Extra space
O(V)
Use it for
Condensing a directed graph.