T(n) = T(n-1) + n , O(n2)
and
Thus
Using Substitution:
given
putting
we get
So . proved
Coins can be redeemed for fabulous gifts.
Log In
Sign Up
Get Answers For Free Most questions answered within 1 hours.