Question: For functions A and B and constant c > 1 , indicate which of { A = O ( B ) , A =

For functions A and B and constant c >1, indicate which of {A = O(B),A =\Omega (B),A =\Theta (B)} holds. Here, we use the notation that log2= lg. Hint: for these problems it is useful to know some mathematical identities. See CLRS section 3.2 or CLRS Standard Notations and Common Functions in HuskyCT lecture notes.
(a) A=nc,B=cn
(b) A = nlg(c), B = clg(n)
(c) A = lg(n!), B = lg(nn). For this problem, you will find Stirlings approximation useful: n!=2\pi nnn1+\Theta 1.
(d) A=33n,B=3n2

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!