Question

Problem 1 Use the master method to give tight asymptotic bounds for the following recurrences. a) T(n) = T(2n/3) +1 b) T(n) =

0 0
Add a comment Improve this question Transcribed image text
Answer #1

******************************************************************************************
Please Upvote the answer as it matters to me a lot :)
*****************************************************************************************
As per HomeworkLib expert answering guidelines,Experts are supposed to answer only certain number of questions/sub-parts in a post.Please raise the remaining as a new question as per HomeworkLib guidelines.
******************************************************************************************

a)
a=1 b=3/2 c= 0
using masters theorem
log(3/2) 1 = 0 = c

T(n)= O(nclogn)= O(logn)

b)

a=2 b=2 c= 4
using masters theorem
log2 2 = 2 < c(4)

T(n)= O(f(n))= O(n4)

c)

a=1 b=10/7 c= 1
using masters theorem
log(10/7) 1 =0 < c (1)

T(n)= O(f(n))= O(n)

d)

a=5 b=2 c= 2
using masters theorem
log2 5 =2.321> c (2)

T(n)= O(nlogb a)= O(n2.321)

Add a comment
Know the answer?
Add Answer to:
Problem 1 Use the master method to give tight asymptotic bounds for the following recurrences. a)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT