Give asymptotic tight upper bounds for the following


Algorithm Assignment

1. Give asymptotic tight upper bounds for the following problems using the Master method to solve and justify your answers. Don't forget to do the additional test for Case 3 where needed. For credit, show your work!

a. T(N) = 3 T(N/2) + N3
b. T(N) = 2 T(N/4) + N2
c. T(N) = 2 T(N/4) + N1/2
d. T(N) = 7 T(N/3) + N2

2. Solve the following using the recurrence tree method to solve and justify your answers.

For credit, show your work!

a. T(N) = 3 T(N/2) + N2
b. T(N) = T(N1/2) + 1

(HINT: can you rewrite the square root function the way we did with the logarithmic function? This analysis takes two such rewrites, but it works!

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Give asymptotic tight upper bounds for the following
Reference No:- TGS02684435

Now Priced at $45 (50% Discount)

Recommended (93%)

Rated (4.5/5)