problem-solving method
simpler solution to the same problem
calls itself
might contain any number of statements
provide a way to stop recursion
Iterative
run more quickly
overhead
using a simpler version of the problem each time
call stack
more recursive cases than base cases.
base case
recursive cases
product
computing the factorial of any number relies on computing the factorial of a simpler case
base case
there is an 'A' in the string n
solve mathematical problems and to create visual patterns
displaying a series of characters on consecutive lines where each is one space further to the right than the previous one
frequently