IAE Academy

GATE 2026 CS2 Q.24: solution and answer

GATE 2026 · CS2Q.24 · 1 mark · MCQ

Consider the following functions, where is a positive integer.

Which one of the following options lists the functions in increasing order of asymptotic growth rate?

Note: Assume the base of log to be 2.

  1. (A)

    , , ,

  2. (B)

    , , ,

  3. (C)

    , , ,

  4. (D)

    , , ,

See the question in the paper

Answer and solution

ANSWER

The correct answer is (A): log(n), n^{1/3}, 2^{log(n)}, log(n!) — in increasing order of asymptotic growth rate.

Official answer: ASource: Official answer key, GATE 2026 CS2 (IIT Guwahati)

  1. Since the log base is given as 2 (per the note), by the definition of logarithm as the inverse of exponentiation.

  2. grows slower than any positive power of (in particular slower than ), so it is the smallest of the four functions.

  3. Since the exponent , . So grows more slowly than .

  4. By Stirling's approximation, , which grows strictly faster than itself (since as ).

  5. Combining all comparisons: .

  6. This increasing-growth-rate order — — is exactly option (A).

KEY IDEA

Simplify each function to a standard growth class using and (Stirling), then order the resulting classes: .

WATCH OUT FOR

Forgetting that "log" here means log base 2 (as stated in the note) and mis-simplifying ; a common error is to treat as growing faster than (e.g., confusing it with or ), or to assume grows only like rather than by Stirling's approximation.

From the GATE 2026 CS2 paper. Every question of this paper · Download the full paper · All 14 Complexity questions, with notes

More Complexity questions