Sorting algorithms/Insertion sort: Difference between revisions

m
Redundant cat link
(added scheme)
m (Redundant cat link)
Line 1:
[[Category:Less Than 20 Examples]]{{task|Sorting Algorithms}}
{{Sorting Algorithm}}
An O(n^2) sorting algorithm which moves elements one at a time into the correct position. The algorithm is as follows (from the [http://en.wikipedia.org/wiki/Insertion_sort#Algorithm wikipedia]):
Anonymous user