GATE CS 2011 · Asymptotic Analysis & Recurrences

MCQ · 2 marks · Problem PROG-DIVC-0114

Which of the given options provides the increasing order of asymptotic complexityoffunctions f1, f2, f3 and f4?\(f_{1}(n)=2^{n};\) \(f_{2}(n)=n^{3/2};\) \(f_{3}(n)=nlog_{2}n;\) \(f_{4}(n)=n^{log_{2}n}\)
  1. A
    \(f_3, f_2, f_4, f_1\)
  2. B
    \(f_3, f_2, f_1, f_4\)
  3. C
    \(f_2, f_3, f_1, f_4\)
  4. D
    \(f_2, f_3, f_4, f_1\)

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

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/2139/gate2011-37

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