
シェルソート
Sign in to saveAlso known as Shell sort, Shell's method, Shellsort, Shell sort, Shell's method
ソートのアルゴリズムのひとつ
Key facts
- Algorithm.class
- Sorting algorithm
- Algorithm.image
- Step-by-step visualisation of Shellsort
- Algorithm.caption
- Shellsort with gaps 23, 10, 4, 1 in action
- Algorithm.data
- Array
- Algorithm.time
- O(n2) (worst known worst case gap sequence)O(n log2n) (best known worst case gap sequence)
- Algorithm.best time
- O(n log n) (most gap sequences)O(n log2n) (best known worst-case gap sequence)
- Algorithm.average time
- depends on gap sequence
- Algorithm.space
- О(n) total, O(1) auxiliary
- Algorithm.optimal
- No
via Wikipedia infobox
Wikidata facts
- Image
- Sorting shellsort anim.gif
Show 2 more facts
- time of discovery or invention
- 1959-00-00
- Stack Exchange tag
- stackoverflow.com/tags/shellsort
Sources (3)
via Wikidata · CC0
Article · 日本語
シェルソート(改良挿入ソート、英語: Shellsort, Shell sort, Shell's method)は、1959年にドナルド・シェルが開発したソートのアルゴリズム。挿入ソートの一般化であり、配列の中である程度間隔が離れた要素の組ごとに挿入ソートを行い、間隔を小さくしながら同様のソートを繰り返すことで高速化するアルゴリズムである。ただし、挿入ソートと異なり、安定ソートではなくなる。
Abstract from DBpedia / Wikipedia · CC BY-SA
Gallery (6)
Connections
International Standard Book Number
Entity
Wayback Machine
Entity
Q2370
Entity
digital object identifier
Entity
Donald Knuth
Entity
Dennis M. Ritchie
Entity
greatest common divisor
Entity
Q364
Entity
Linux kernel
Entity
Q118398
Entity
sorting algorithm
Entity
quicksort
Entity
coprime
Entity
bubble sort
Entity
array data structure
Entity
embedded system
Entity
merge sort
Entity
selection sort
Entity
insertion sort
Entity
Brian Kernighan
Entity