Documente Academic
Documente Profesional
Documente Cultură
TECHNIQUES
PREPARED BY:
Else
The insertion position has been found
itemToInsert should be positioned at index j + 1
Prepared by: Jyr Marie V. Reyes 24
INSERTION SORT
An insertion sort for each value of k is traced in Table 3.
In each column of this table, the data items are sorted in
order relative to each other above the item with the
asterisk; below this item, the data are not affected.