Explore BrainMass

Explore BrainMass

    Big O problem

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    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)

    © BrainMass Inc. brainmass.com March 6, 2023, 12:50 pm ad1c9bdddf
    https://brainmass.com/computer-science/algorithms/big-o-problem-26321

    Solution Summary

    This solution helps with a software development problem.

    $2.49

    ADVERTISEMENT