GATE Computer ScienceHardGATE CS (PYQ pattern)

Let f₁ = n^(1/log₂n), f₂ = (log₂ n)³, f₃ = (log₂ n)^(log₂ log₂ n), f₄ = 2^√(log₂ n), f₅ = n^0.001. Which lists them in increasing order of asymptotic growth?

  1. A. f₁, f₂, f₄, f₃, f₅
  2. B. f₁, f₂, f₃, f₄, f₅
  3. C. f₂, f₁, f₃, f₄, f₅
  4. D. f₁, f₂, f₃, f₅, f₄

Correct answer: B. f₁, f₂, f₃, f₄, f₅

With L = log₂n, f₁ = 2 is constant. Taking logs: log f₂ = 3 log L, log f₃ = (log L)², log f₄ = √L, log f₅ = 0.001 L. For large L these increase in the order 1 < 3 log L < (log L)² < √L < 0.001 L, even though f₅ stays below f₄ until L is about 10⁶.

More Algorithms questions

Exams that ask this topic