GATE CS 2015 · Set-3 · Asymptotic Analysis & Recurrences

MCQ · 2 marks · Problem PROG-DIVC-0101

Let \(f(n)=n\) and \(g(n)=n^{1+sin \; n}\) where n is a positive integer. Which of the following statements is/are correct? I. \(f(n)=O(g(n))\) II. \(f(n)= \Omega (g(n))\)
  1. A
    Only I
  2. B
    Only II
  3. C
    Both I and II
  4. D
    Neither I nor II

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/8501/gate2015-3-54

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