Skip to main content
Log in

Stochastic Analysis of Shell Sort

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract.

We analyze the Shell Sort algorithm under the usual random permutation model. Using empirical distribution functions, we recover Louchard's result that the running time of the 1-stage of (2,1) -Shell Sort has a limiting distribution given by the area under the absolute Brownian bridge. The analysis extends to (h,1) -Shell Sort where we find a limiting distribution given by the sum of areas under correlated absolute Brownian bridges. A variation of (h,1) -Shell Sort which is slightly more efficient is presented and its asymptotic behavior analyzed.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received June 6, 2000; revised September 27, 2000.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Smythe, R., Wellner, J. Stochastic Analysis of Shell Sort. Algorithmica 31, 442–457 (2001). https://doi.org/10.1007/s00453-001-0048-0

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-001-0048-0

Navigation