Abstract
It is proved that the running time of Shellsort using an increment sequence given by Sedgewick is Ω(N 4 3) which matches the known upper bound. Extending this proof technique to various increment sequences leads to lower bounds that in general always match the known upper bounds. This suggests that Shellsort runs in ω (N1+ε{lunate}/ log N for increment sequences of practical interest and that no increment sequence exists that would make Shellsort optimal.
Original language | English (US) |
---|---|
Pages (from-to) | 242-251 |
Number of pages | 10 |
Journal | Journal of Algorithms |
Volume | 11 |
Issue number | 2 |
DOIs | |
State | Published - Jun 1990 |
All Science Journal Classification (ASJC) codes
- Control and Optimization
- Computational Mathematics
- Computational Theory and Mathematics