Which data structures are applied when dealing with a recursive function?
4 years ago
Data Structure and Algorithm
Recursion, is a function that calls itself based on a terminating condition, makes use of the stack. Using LIFO, a call to a recursive function saves the return address so that it knows how to return to the calling function after the call terminates.
Sujan Bk
Jan 9, 2022