Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2018
Questions

Q30

MCQ2 marks, −0.67AlgorithmsMedium

Let GG be a simple undirected graph. Let TDT_D be a depth first search tree of GG. Let TBT_B be a breadth first search tree of GG. Consider the following statements. Which of the statements above must necessarily be true? I. No edge of GG is a cross edge with respect to TDT_D. (A cross edge in GG is between two nodes neither of which is an ancestor of the other in TDT_D). II. For every edge (u,v)(u, v) of GG, if uu is at depth ii and vv is at depth jj in TBT_B, then ∣i−j∣=1\mid i-j \mid =1.

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.