Article,

Improved Upper Bounds on Shellsort

, and .
Journal of Computer and System Sciences, 31 (2): 210--224 (1985)
DOI: 10.1016/0022-0000(85)90042-X

Abstract

The running time of Shellsort, with the number of passes restricted to O(log N), was thought for some time to be Θ(N32), due to general results of Pratt. Sedgewick recently gave an O(N43) bound, but extensions of his method to provide better bounds seem to require new results on a classical problem in number theory. In this paper, we use a different approach to achieve O(N1 + ε√1g N) for any ε>0.

Tags

Users

  • @ytyoun

Comments and Reviews