Which data structure is mainly used for implementing the recursive algorithm?
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.
Correct answer: (B) Stack
Explanation
Recursion uses a stack. Each call pushes an activation record, and the record is popped when the call returns.
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.