GATE CS 2008 · Asymptotic Analysis & Recurrences

MCQ · 2 marks · Problem PROG-DIVC-0129

Consider the following functions: \(f(n)=2^{n}\) \(g(n)=n!\) \(h(n)=n^{log n}\)Which of the following statements about the asymptotic behaviour of f(n), g(n), and h(n) is true?
  1. A
    f (n) = O(g(n)); g(n) = O(h(n))
  2. B
    f (n) = \(\Omega\)(g(n)); g(n) = O(h(n))
  3. C
    g(n) = O(f (n)); h(n) = O(f (n))
  4. D
    h(n) = O(f (n)); g(n) = \(\Omega\)(f (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/450/gate2008-39

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