GATE CS 2024, set 1 · Question 45 · Algorithms · Multiple select (MSQ) · 2 marks · no negative marks
Let G be a directed graph and T a depth first search (DFS) spanning tree in G that is rooted at a vertex v. Suppose T is also a breadth first search (BFS) tree in G, rooted at v. Which of the following statements is/are TRUE for every such graph G and tree T ?
- (A) There are no back-edges in G with respect to the tree T
- (B) There are no cross-edges in G with respect to the tree T
- (C) There are no forward-edges in G with respect to the tree T
- (D) The only edges in G are the edges in T
Answer
Answer (C)
Answer from the official GATE CS 2024 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes