0 votes 0 votes Please give an example i didn't get it The depth of any DFS tree rooted at a vertex is at least as much as the depth of any BFS tree rooted at the same vertex. Algorithms depth-first-search breadth-first-search algorithms + – Rishav Kumar Singh asked Aug 2, 2018 Rishav Kumar Singh 804 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Shaik Masthan commented Aug 2, 2018 reply Follow Share What the question means, take a connected graph and label the vertices apply DFS and BFS on them. Note that, When you apply BFS on a node, all it's neighbor should be on same level. Now Compare the BFS and DFS trees, If a node Vi is in level X in BFS, In the DFS Vi should be in the level ≥ X 1 votes 1 votes Rishav Kumar Singh commented Aug 2, 2018 reply Follow Share thanks, got it 0 votes 0 votes Please log in or register to add a comment.