Let G = (V, E) be a directed graph where V1 the set of vertices and E the set of edges. The which one of the following graphs has the same strongly connected components as G?
A
G1=(V,E1)whereE1={(u,v)|(u,v)/ϵE}
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
G2=(V,E2)whereE2={(u,v)|(u,v)ϵE}
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
G36=(V,E3)~whereE3={(u,v)|there is a part of length ≤2from u to v in E}
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
G4=(V4,E)V4 is the set of vertices in G which are not isolated
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is BG2=(V,E2)whereE2={(u,v)|(u,v)ϵE} G = (V, E) is directed graph
G2=(v,E2)whereE2={(u,v)|(v,u)ϵE}
G and G2 has same strongly connected components only the difference in G2 is that all edges of G have been reversed the direction.