出典:Wiktionary
insertion sort (countable かつ uncountable, 複数形 insertion sorts)
出典:Wikipedia
出典:『Wikipedia』 (2011/07/08 07:03 UTC 版)
Insertion sort is a simple sorting algorithm: a comparison sort in which the sorted array (or list) is built one entry at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort. However, insertion sort provides several advantages: