Chapter 16
, Outline
●
Introduction
●
Bubble Sort
●
Insertion Sort
●
Selection Sort
●
Merge Sort
●
Quick Sort
, Itroduction
In the discipline of computer science, sorting is ordering deals
with ordering elements in a list or sets or records in ascending
or descending order.
Several data structure and algorithms will perform better when
dealing with sorted data.
The algorithm classified by
• Sorting by exchange
• Sorting by insertion
• Sorting by distribution
• Sorting by selection