research

Shellsort with three increments

Abstract

A perturbation technique can be used to simplify and sharpen A. C. Yao's theorems about the behavior of shellsort with increments (h,g,1)(h,g,1). In particular, when h=Θ(n7/15)h=\Theta(n^{7/15}) and g=Θ(h1/5)g=\Theta(h^{1/5}), the average running time is O(n23/15)O(n^{23/15}). The proof involves interesting properties of the inversions in random permutations that have been hh-sorted and gg-sorted

    Similar works

    Full text

    thumbnail-image

    Available Versions