GATE / CS ARCHIVE

GATE CSE 2026 SET 2 / QUESTION 24

Ordering four asymptotic functions

Algorithms · Asymptotic Analysis & Recurrences · Full GATE CSE 2026 Set 2 paper

GATE 2026 Set 2, Q24 1 mark · MCQ
Report issue

Asymptotic Analysis & Recurrences

Question 24, GATE 2026: With logarithms base 2, order n^(1/3), log n, log(n!), and 2^(log n) by increasing asymptotic growth. A log n,n^(1/3),2^(log n),log(n!); B n^(1/3),log n,log(n!),2^(log n); C log n,n^(1/3),log(n!),2^(log n); D 2^(log n),n^(1/3),log n,log(n!).
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Givens and goal

With logarithms base 2, order n1/3, log n, log(n!), and 2log n by increasing asymptotic growth. A log n,n1/3,2log n,log(n!); B n1/3,log n,log(n!),2log n; C log n,n1/3,log(n!),2log n; D 2log n,n1/3,log n,log(n!).

Approach

Simplify the exponential and bound the factorial logarithm.

Step-by-step solution

1. Because the bases match, 2log₂n=n exactly. It must therefore be compared as a linear function, not as an arbitrary exponential.
2. Write log(n!)=Σ(k=1 to n)log k. Every summand is at most log n, giving an upper bound n log n. The last at least n/2 summands are at least log(n/2), giving a lower bound (n/2)log(n/2). Thus log(n!)=Θ(n log n).
3. Any fixed positive power of n eventually dominates log n, so log n=o(n1/3). Also n1/3/n=n−2/3→0, and n/(n log n)=1/log n→0.
4. The required increasing order is log n, n1/3, n, Θ(n log n), matching A. This is an eventual growth comparison, not a claim of strict ordering at every small input.

Original paper, page 19 · Answer key