| |
| | Insertion Sort |
 | | There are improvements to the basic sorting algorithms to improve their Big O the ones that are improvements of insertion sort are shellsort, treesort, and merge sort; these sorting algorithms have been improved to achieve the best possible search Big O which is O(n log n). |
 | | Insertion sort is one of the simpler sorting algorithms to program, understand, and teach. |
 | | For example given the smaller sorted lists of (1,6,9,16,25) and (8,11,12,45,55) the end result for a merge sort of these two lists would be (1,6,8,9,11,12,16,25,45,55) to get the smaller lists ordered you can use insertion sort or which ever sorting algorithm you wish. |
| www2.hawaii.edu /~mellor/211/insertionSort/insertion_sort.htm (1021 words) |
|