GATE CS 2000 · Asymptotic Analysis & Recurrences

MCQ · 1 mark · Problem PROG-DIVC-0159

Consider the following functions\(f(n) = 3n^{\sqrt{n}}\)\(g(n) = 2^{\sqrt{n}{\log_{2}n}}\)\(h(n) = n!\)Which of the following is true?
  1. A
    h(n) is O(f(n))
  2. B
    h(n) is O(g(n))
  3. C
    g(n) is not O(f(n))
  4. D
    f(n) is O(g(n))

Solve it on GATE DA practice →More Searching & Sorting Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option D.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/664/gate2000-2-17

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com