GATE CS 1999 · Heap Sort & Non-Comparison Sorts
MCQ · 1 mark · Problem PROG-SORT-0058
A sorting technique is called stable if
- A
it takes \(O (n \log n)\) time
- B
it maintains the relative order of occurrence of non-distinct elements
- C
it uses divide and conquer paradigm
- D
it takes O(n) space
Solve it on GATE DA practice →More Searching & Sorting Algorithms problems
Show the worked solution
Official GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow:
https://gateoverflow.in/1465/gate1999-1-12
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com