Showing posts with label InsertionSort. Show all posts
Showing posts with label InsertionSort. Show all posts

Monday, December 30, 2013

Insertion Sorting Logic

Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion sort removes one element from the input data, finds the location it belongs within the sorted list, and inserts it there. It repeats until no input elements remain. -Wiki