🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Sorting Basics: all 13 questions

Quiz: Sorting Basics · Question 3 of 13

Which of these sorts is NOT stable in its usual form?

Which of these sorts is NOT stable in its usual form?

  1. A.Bubble sort
  2. B.Insertion sort
  3. C.Selection sort
  4. D.Merge sort
Answer & explanation

Correct answer: Selection sort

Selection sort swaps the minimum into place from far away, which can move an item past an equal one.

Can you get the rest right without peeking?

Take the timed Quiz: Sorting Basics quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →