Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is stable sorting?
Think about how sorting multiple attributes works.
Name a sorting algorithm that is not stable.
Consider the methods involved in quick sort.
What is stable sorting?
Think about how it helps in sorting by multiple attributes.
Is quick sort a stable sorting algorithm?
Remember how quick sort works.
Given an array of records with names and scores, sort them using a stable sorting algorithm while preserving the original alphabetical order of names who scored the same.
Focus on how merge operation handles equal elements.
Discuss a scenario in data processing where the cost of swapping would have a significant impact and suggest the best sorting algorithm to use.
Consider where your data is stored.
6 more questions in this section. Enroll free to practise them all.
Enroll free