Which data structure is used to implement recursion?

Practice Questions

1 question
Q1
Which data structure is used to implement recursion?
  1. Array
  2. Stack
  3. Queue
  4. Linked List

Questions & Step-by-step Solutions

1 item
Q
Q: Which data structure is used to implement recursion?
Solution: Recursion is implemented using a stack, which keeps track of function calls and local variables.
Steps: 6

Related Questions

Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely