Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Algorithms | Analysis of Algorithms | Question 16

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Consider the following three claims:

(n+k)^m = \Theta(n^m) where k and m are constants

II 2^{n+1} = O(2^n) 

 III 2^{2n+1} = O(2^n)

Which of these claims is correct? (GATE CS 2003)

(A)

I and II

(B)

I and III

(C)

II and III

(D)

I, II and III


Answer: (A)

Explanation:

(I)  (n+m)k = nk + c1*n(k-1) + ... km = \\theta(nk)
(II)  2(n+1) = 2*2n = O(2n)


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads