Let \(G=(V,E)\) be a directed graph where \(V\) is the set of vertices and…

GATE · 2014 · CS · Set 1 · Computer Science & IT

Let G=(V,E)G=(V,E) be a directed graph where VV is the set of vertices and EE the set of edges. Then which one of the following graphs has the same strongly connected components as GG ?

  1. A.

    G1=(V,E1)G_1 = (V,E_1)  where E1={(u,v)∣(u,v)∉E} E_1 = \left\{(u,v) \mid (u,v) \notin E\right\}

  2. B.

    G2=(V,E2)G_2 = (V,E_2) where E2={(u,v)∣(v,u)∈E}E_2 = \left\{(u,v) \mid (v,u) \in E \right\}

  3. C.

    G3=(V,E3)G_3=(V,E_3) where E3={(u,v)∣there is a path of length ≤2 from u to v in E}E_3=\{(u,v)\mid \text{there is a path of length }\leq 2\text{ from }u\text{ to }v\text{ in }E\}

  4. D.

    G4=(V4,E)G_4 = (V_4,E) where V4V_4  is the set of vertices in GG which are not isolated

Attempted by 215 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…