Bad cases for shaker-sort (Q1114410): Difference between revisions
From MaRDI portal
Set profile property. |
Set OpenAlex properties. |
||
Property / full work available at URL | |||
Property / full work available at URL: https://doi.org/10.1016/0020-0190(88)90158-5 / rank | |||
Normal rank | |||
Property / OpenAlex ID | |||
Property / OpenAlex ID: W2026555151 / rank | |||
Normal rank |
Revision as of 01:28, 20 March 2024
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | Bad cases for shaker-sort |
scientific article |
Statements
Bad cases for shaker-sort (English)
0 references
1988
0 references
It is shown, by example, that shaker-sort is quadratic in the worst case for the specific increments suggested by its authors, Incerpi and Sedgewick, and that simple variations of these increment sequences do not do significantly better. At the same time, shaker-sort does not seem to be significantly faster than shell-sort for any file size, especially when good increment sequences are used for shell-sort.
0 references
sorting
0 references
shaker-sort
0 references
shell-sort
0 references