Skip to main content
Log in

Average-Case Analysis of the Merging Algorithm of Hwang and Lin

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract.

We derive an asymptotic equivalent to the average running time of the merging algorithm of Hwang and Lin applied on two linearly ordered lists of numbers a 1 <a 2 <. . . <a m and b 1 <b 2 < . . . <b n when m and n tend to infinity in such a way that the ratio \( \rho \) = m/n is constant. We show that the distribution of the running time is concentrated around its expectation except when \( \rho \) is a power of 2. When \( \rho \) is a power of 2, we obtain an asymptotic equivalent for the expectation of the running time.

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 November 13, 1997; revised February 15, 1998.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Fernandez de la Vega, W., Frieze, A. & Santha, M. Average-Case Analysis of the Merging Algorithm of Hwang and Lin . Algorithmica 22, 483–489 (1998). https://doi.org/10.1007/PL00009235

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/PL00009235

Navigation