Question 77Asked in BPSC TRE 1.0 (2023) Computer Science Class 11-12

Which data structure is mainly used for implementing the recursive algorithm?

  1. AQueue
  2. BStack
  3. CBinary tree
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (B) Stack

Explanation

Recursion uses a stack. Each call pushes an activation record, and the record is popped when the call returns.

From BPSC TRE 1.0 (2023) Computer Science Class 11-12 — Previous Year Paper

This is question 77 of BPSC TRE 1.0 (2023) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.