retagged by
3,114 views

2 Answers

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.
Answer:

Related questions

3 votes
3 votes
1 answer
1
admin asked Mar 31, 2020
891 views
What data structures is used for depth first traversal of a graph?QueueStackListNone of the above
3 votes
3 votes
2 answers
2
admin asked Mar 31, 2020
2,555 views
Which of the following is the correct order of evaluation for the below expression? $z=x+y^*z/4\%2-1$$^*/\%+-=$$=^*/\%+-$$/^*\%-+=$$^*\% /-+=$
4 votes
4 votes
1 answer
3
admin asked Mar 31, 2020
1,854 views
The number of unused pointers in a complete binary tree of depth $5$ is:$4$$8$$16$$32$
4 votes
4 votes
4 answers
4
admin asked Mar 31, 2020
2,008 views
A ________ is a linear list in which insertions and deletions are made to from either end of the structure.Circular queue.Priority queue.Stack.Dequeue.