![]() |
|
![]() |
Introduction: Here we apply some of the material to one of the basic processes in computer science, that of sorting a list of data.
| Bubble sort Heap sort |
Merge sort QUIK sort |
1. The one theorem in this section is very important. Be sure you understand the reasoning that underlies the proof of the theorem.
2. You should be able to do any of the four sorts listed above for a simple set of unsorted items (usually numbers)