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.
Similar content being viewed by others
Author information
Authors and Affiliations
Additional information
Received November 13, 1997; revised February 15, 1998.
Rights 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
Issue Date:
DOI: https://doi.org/10.1007/PL00009235