GATE 2014 CS (CS1) – Question 13
Let G = (V,E) be a directed graph. Which graph has the same strongly connected components as G?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) $G_2=(V,E_2)$, $E_2=\{(u,v):(v,u)\in E\}$
Explanation
Reversing every edge reverses paths, preserving mutual reachability and hence strongly connected components. Thus B is the official answer. As printed, C also preserves components: every original edge is included as a length-one path, and every added length-two edge merely shortcuts an existing path, so reachability is unchanged. D removes isolated singleton components; A need not preserve reachability. The single-choice premise is therefore ambiguous between B and C.