Let G = (V, E) be a directed graph where V is the set of vertices and E the set of edges. Then which one of the following graphs has the same strongly connected components as G?
Let G = (V, E) be a directed graph where V is the set of vertices and E the set of edges. Then which one of the following graphs has the same strongly connected components as G? Correct Answer G<sub>2</sub> = (V, E<sub>2</sub>) where E<sub>2</sub> = {(u, v)|(v, u) ∈ E}
In a directed graph G Strongly connected will have a path from each vertex to every other vertex.
If the direction of the edges is reverse, then also graph is strongly connected components as G
Option 2: G2 = (V, E2) where E2 = {(u, v)|(v, u) ∈ E}
In this option G2, edges are reversed and hence it is a strongly connected components as similar to G
So, changing the direction of all the edges, won't change the SCC.
মোঃ আরিফুল ইসলাম
Feb 20, 2025