Data structure used to perform recursion - Stack

Q.  From the following which data structure is used to perform recursion?
- Published on 16 Jun 15

a. FIFO
b. Stack
c. Binary Trees
d. Query

ANSWER: Stack
 
It has a LIFO property which helps it to remember the caller which helps it to return when the function returns.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)