Growth of divide-and-conquer recursion: master theorem (CSCI 2824, Spring 2015)In this lecture we introduce the divide-and-conquer recursions, and the master theorem for estimating the growth of divide-and-conquer recursions. (Section 4.8 of the textbook) A divide-and-conquer recursion is a recursive sequence
where Simple examples of divide-and-conquer include binary search and merge sort. Each specialized divide-and-conquer algorithm would have the following few features:
With the roles of What we are interested in is the growth of divide-and-conquer
recursions: the growth of such a recursion tells us the efficiency
of the corresponding divide and conquer algorithm. It turns out that
the growth of Master theorem
Consider the recursive function
with Define
Example 1We estimate the growth rate of the recursive function
Example 2We estimate the growth rate of the recursive function
Example 3We estimate the growth rate of the recursive function
Example 4We estimate the growth rate of the recursive function
|