Sorting Algorithms: Correctness, Stability, Methods, and Trade-offs
5 flashcards · 5 quiz questions · 5 match pairs · 4 fill-in sentences · English
Your progress is kept in this browser only.Sign up to save it
Summary
Sorting arranges the elements of a collection according to a chosen order. This lesson introduces the requirements for a correct sort and the main ways sorting algorithms are described.
A sorting algorithm rearranges elements into an order, commonly numerical or lexicographical (dictionary) order, either ascending or descending. Sorting supports efficient searching and merging, can make data easier to inspect, and can provide a canonical arrangement for consistent storage or comparison.
All flashcards
Quiz questions
Based on the Wikipedia article Sorting algorithm, licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.