3 votes 3 votes In the ________ traversal we process all of a vertex's descendants before we move to an adjacent vertex. Depth First Breadth First Width First Depth Limited DS nielit2016dec-scientistb-it data-structures stack depth-first-search + – admin asked Mar 31, 2020 • retagged Aug 23, 2020 by Lakshman Bhaiya admin 3.1k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes A. Depth First Search Since DFS uses stack, it pushes all the descendent nodes of a vertex and processes it before processing any adjacent node. That is why the name DEPTH FIRST. AkashChandraGupta answered Aug 6, 2020 AkashChandraGupta comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes The algorithm starts at the root node (selecting some arbitrary node as the root node in the case of a graph) and explores as far as possible along each branch before backtracking. abhishek tiwary answered Apr 27, 2020 abhishek tiwary comment Share Follow See all 0 reply Please log in or register to add a comment.