Question: Exercise 1 . Use Master Theorem to find the running time of a recursive algorithm in big - Oh notation if its running time is

Exercise 1. Use Master Theorem to find the running time of a recursive algorithm in big-Oh notation if its
running time is described by the following functions. If Master Theorem is not applicable, or if does not yield
any result, mention that as well.
a) T(n)=8T(n/4)+ n
2+ log n
[1 points]
b) T(n)=2T(n/8)+
n
[1 points]
c) T(n)=121T(n/11)+ n
2
[1 points]
d) T(n)=8T(n/2)+ n
4
log n
[1 points]
e) T(n)=2T(n/2)+ n
3+ n
2+ n 1
[1 points]
f) T(n)= T(n/3)+ log2
n
[1 points]
g) T(n)=5T(n/2)+ n
4+ log n
[1 points]
h) T(n)=8T(n/4)+ n
2+ log n
3-1
3-2 Assignment 3: Queues, Recursion, and Hashing
[1 points]
i) T(n)=27T(n/3)+6n
3
[1 points]
j) T(n)= nT(n/4)+10n +1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!