GATE CS 2006 · Heap Sort & Non-Comparison Sorts

MCQ · 1 mark · Problem PROG-SORT-0025

Which one of the following in-place sorting algorithms needs the minimum number of swaps?
  1. A
    Insertion Sort
  2. B
    Quick Sort
  3. C
    Heap Sort
  4. D
    Selection Sort

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

Show the worked solutionOfficial GATE Answer Key: Option D.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/128545/isro2017-15

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