Algorithms Flashcards

1
Q

Recursive Function Properties

A
  1. Must call itself. The program context for each call is placed on the call stack.
  2. Must have a base case/ exit criteria which triggers the end of the recursion. The base case is the smallest problem that can be solved without further recursion
  3. Progressive approach. Must move towards its base case
How well did you know this?
1
Not at all
2
3
4
5
Perfectly