GATE CS 2017 · Set-1 · Asymptotic Analysis & Recurrences

MCQ · 1 mark · Problem PROG-DIVC-0095

Consider the following functions from positive integers to real numbers:\(10,\sqrt{n},n, log_{2}n,\frac{100}{n}\).The CORRECT arrangement of the above functions in increasing order of asymptotic complexity is:
  1. A
    \(log_{2}n,\frac{100}{n}, 10,\sqrt{n},n\)
  2. B
    \(\frac{100}{n}, 10,log_{2}n, \sqrt{n}, n\)
  3. C
    \(10, \frac{100}{n}, \sqrt{n}, log_{2}n, n\)
  4. D
    \(\frac{100}{n}, log_{2}n, 10, \sqrt{n}, n\)

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

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/118703/gate2017-1-4

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