MSQ · 1 mark · Graph AlgorithmsGATE CS 2025 CS-2 — Q29Which of the following statements regarding Breadth First Search (BFS) and Depth First Search (DFS) on an undirected simple graph G is/are TRUE?Select all correct optionsA.A DFS tree of GGG is a Shortest Path tree of GGG.B.Every non-tree edge of G with respect to a DFS tree is a forward/back edge.C.If (u,v)(u, v)(u,v) is a non-tree edge of G with respect to a BFS tree, then the distances from the source vertex sss to uuu and vvv in the BFS tree are within ±1\pm 1±1 of each other.D.Both BFS and DFS can be used to find the connected components of G.Check answer