Exam
Vibe
Home
Engineering
Aerospace Engineering
Biomedical Engineering
Chemical Engineering
Civil Engineering
Computer Science
Electrical Engineering
Electronics and Communication Engineering
Mechanical Engineering
Govt Exam
Banking Exams
Other Government
Police
Railway Exams
SSC
State PSC Exams
Teaching / Education Exams
UPSC Exams
Blog
Contact
๐
Home
โบ
Computer Science
โบ
Algorithms MCQ
โบ
Which data structure is used in Depth First Search (DFS)?
Which data structure is used in Depth First Search (DFS)?
A. Queue
B. Stack
C. Heap
D. Priority Queue
Explanation:
DFS uses stack (either explicitly or via recursion) to explore nodes.
Tags:
Algorithms MCQ
,
Computer Science
ยซ Previous
Next ยป
More from Algorithms MCQ:
Which of the following is the time complexity of binary search algorithm?
Which sorting algorithm has the best average case time complexity?
In a graph, which traversal technique uses a queue?
Which data structure is used in a recursive function call?
What is the time complexity of binary search algorithm?
Which sorting algorithm has the best average-case performance?