Question: CS 3 3 2 0 0 Algorithms Homework 2 1 [ 3 0 points ] Arrange the following list of functions in ascending order of

CS 33200 Algorithms
Homework 2
1[30 points] Arrange the following list of functions in ascending order of growth rate. That is,
if function g(n) immediately follows function f(n) in your list, then f(n) should be O(g(n)) :
(n-2)!in((n-2)!),5lg(n+100)10=50lg(n+100)in(logn),22n=
(22)nin(4n),0.001n4+3n3+1in(n4),ln2nin(log2n),n3in
(n13),3nin(3n)
2[30 points]
Use the master method to give tight asymptotic bounds for the following recur-
rences.
a.T(n)=2T(n4)+1.
b.T(n)=2T(n4)+n2.
3[40 points]
a.[20 points] Draw the recursion tree for T(n)=4T(n2)+n and provide an upper
asymptotic bound on its solution.
b.[20 points] Solve the recurrence with a method of your choice.
T(n)=2T(n2)+1
CS 3 3 2 0 0 Algorithms Homework 2 1 [ 3 0 points

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 Programming Questions!