Algorithms Analysis and Design Lec 3
Algorithms Analysis and Design Lec 3
➢ The portion of the definition that does not contain T is called the base case of the
recurrence relation; the portion that contains T is called the recurrent or recursive case.
➢ Recurrence relations are useful for expressing the running times (i.e., the number of basic
operations executed) of recursive algorithms
➢ The specific values of the constants such as a, b, and c (in the above recurrence) are
important in determining the exact solution to the recurrence. Often, however, we are
only concerned with finding an asymptotic upper bound on the solution. We call such a
bound an asymptotic solution to the recurrence.