← 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?
- A.Merge sort
- B.Quick sort (Lomuto partition)
- C.Selection sort
- 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 →