next up previous
Next: Now let's try subtracting Up: CSE 2320: Algorithms and Previous: Making a Good Guess

Example:

T(n) = 2T(n/2) + 1



Guess:



Show:



Assume:



T(n) $\leq$ 2cn/2 + 1
= cn + 1 $\not\leq$ cn



But, we cannot remove the +1.



Copyright © 1998 The University of Texas at Arlington