Computer Sciences > GATE 2024 SET-1 > Graph Traversals
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

Correct : a,b,c,d

Similar Questions

The number of edges present in the forest generated by the DFS traversal of an undirected graph G with 100 vertices is 40. The number of connected components in...
#896 Fill in the Blanks
A palindrome is a word that reads the same forwards and backwards. In a game of words, a player has the following two plates painted with letters. From...
#1 MCQ
Which number does not belong in the series below? 2, 5, 10, 17, 26, 37, 50, 64
#4 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......