Recursion Flashcards
Define recursion from a programmer point of view
a function that calls itself
One of the purposes of the run time stack is to store data values for an executing program. List two of the different types of program values that are stored.
Local variables, parameters, and return values
Iterative coding solutions incorporate a _______ programming structure while recursive coding solutions incorporate a _______ programming structure.
looping and if/else
the _____ is the portion of code where a recursive solution can terminate its recursive process
anchor point or base case
recursive solutions typically take longer to process in code. why?
overhead from repeating function calls
_______ the stack refers to the stack “growing” and ______ the stack refers to the stack “shrinking”
winding and unwinding