Next:
Up:
Previous:
Solution Techniques
Guess:
O(n)
Show:
T(n) <= cn
Assume:
T(n-1) <= c(n-1)
T(n)
c(n-1) +
= cn - c +
cn
If c
. True for large enough c.
Initial Conditions:
T(1) =
cn
Next:
Up:
Previous: