← Quiz: Searching and Sorting in C: all 10 questions
Quiz: Searching and Sorting in C · Question 8 of 10
What does "stable sort" mean?
What does "stable sort" mean?
- A.The sort never crashes
- B.The sort uses no extra memory
- C.Elements with equal keys keep their original relative order
- D.The sort always takes the same time
Answer & explanation
Correct answer: Elements with equal keys keep their original relative order
Bubble and insertion sort are stable; the simple selection sort is not.
Can you get the rest right without peeking?
Take the timed Quiz: Searching and Sorting in C quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →