in DS edited by
1,704 views
0 votes
0 votes

Which of the following data structure is used to implement recursion ?

  1. Arrays

  2. Stacks

  3. Queues

  4. Linked lists

in DS edited by
1.7k views

1 Answer

0 votes
0 votes
option B.stacks is the answer

When a function is called, activation is record is pushed onto stack.

For every 'return', activation record at top of stack is popped.

Related questions