GATE CS 2023 · Asymptotic Analysis & Recurrences

MSQ · 1 mark · Problem PROG-DIVC-0075

Let \(f\) and \(g\) be functions of natural numbers given by \(f(n)=n\) and \(g(n)=n^2\).Which of the following statements is/are TRUE?
  1. A
    \(f \in O(g)\)
  2. B
    \(f \in \Omega (g)\)
  3. C
    \(f \in o(g)\)
  4. D
    \(f \in \Theta (g)\)

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

Show the worked solutionOfficial GATE Answer Key: A, C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/399292/gate-cse-2023-question-19

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