Computer Science Homework Solutions
Problem
#26321

Big O Problem

Consider the recurrence

T(1)=a
T(n)=cT(n/d)+bn^k, for n a power of d

Iteratively expand T(n) in terms of T(n/d^i) for i=1,2,.... Show that

a) if c > d^k, then T(n) is O(n^logd c)
b) if c = d^k, then T(n) is O(n^k log n)
c) if c < d^k, then T(n) is O(n^k)

Solution
What is this?
By OTA - Overall OTA Rating
Purchase Cost Now
$2.19 CAD (was ~$15.96)
Included in Download
  • Plain text response
  • Attached file(s):
    • p1.jpg
    • p2.jpg
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse