GATE CS 2011 · Question 37 · Algorithms · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
Which of the given options provides the increasing order of asymptotic complexity of functions f₁, f₂, f₃ and f₄?
f₁(n) = 2ⁿf₂(n) = n^(3/2)f₃(n) = n log₂ nf₄(n) = n^(log₂ n)
- (A) f₃, f₂, f₄, f₁
- (B) f₃, f₂, f₁, f₄
- (C) f₂, f₃, f₁, f₄
- (D) f₂, f₃, f₄, f₁
Answer
Answer (A)
Answer from the official GATE CS 2011 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes