GATE CS 2012 · Heap Sort & Non-Comparison Sorts

MCQ · 1 mark · Problem PROG-SORT-0042

Let W(n) and A(n) denote respectively, the worst case and average case running time of an algorithm executed on an input of size n. Which of the following is ALWAYS TRUE?
  1. A
    A(n)=\(\Omega\)(W(n))
  2. B
    A(n) =\(\Theta\)(W(n))
  3. C
    A(n) =O(W(n))
  4. D
    A(n) = o(W(n))

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

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/50/gate2012-18

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