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

Quiz: Merge Sort and Quick Sort · Question 5 of 13

Which sort is stable?

Which sort is stable?

  1. A.Merge sort
  2. B.Quick sort (Lomuto partition)
  3. C.Selection sort
  4. D.Heap sort
Answer & explanation

Correct answer: Merge sort

Merge sort takes from the left half on ties (using <=), so equal items keep their order.

Can you get the rest right without peeking?

Take the timed Quiz: Merge Sort and Quick Sort quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →