GATE CS 2004 · Heap Sort & Non-Comparison Sorts

MCQ · 1 mark · Problem PROG-SORT-0055

The tightest lower bound on the number of comparisons, in the worst case, for comparison-based sorting is of the order of
  1. A
    n
  2. B
    \(n^{2}\)
  3. C
    nlogn
  4. D
    \(nlog^{2}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/1026/gate2004-29

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