1. Home
  2. Engineering
  3. Computer Engineering
  4. Which of the following uses a stack or recursion to…

Added 28 Nov 2026

Which of the following uses a stack or recursion to explore a graph?

  1. An in-order traversal of a binary search tree
  2. Depth-first search Correct answer
  3. A circular queue
  4. A hash table

Correct answer

B. Depth-first search

MCQSEXAM

Explanation

The answer is Depth-first search.

Reference

Asked in: Engineering Computer Engineering Practice

https://en.wikipedia.org/wiki/Data_structure

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Engineering MCQs

Practise all Computer Engineering MCQs

Similar MCQs