GATE 2024 Data Science and Artificial Intelligence question: Consider performing depth-first search (DFS) on an undirected and unweighted graph G…
Consider performing depth-first search (DFS) on an undirected and unweighted graph starting at vertex . For any vertex in , is the length of the shortest path from to . Let be an edge in such that . If the edge is explored first in the direction from to during the above DFS, then becomes a ______ edge.
Show answer
Official answer: A