Skip to main content
Log in

On the costs of optimal and near-optimal binary search trees

  • Published:
Acta Informatica Aims and scope Submit manuscript

Summary

We show that the cost of an optimal binary search tree can vary substantially, depending only on the left-to-right order imposed on the probabilities. We also prove that the costs of some common classes of near-optimal trees cannot be bounded above by the cost of an optimal tree plus a constant.

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

References

  1. Bayer, P.J.: Improved bounds on the costs of optimal and balanced binary search trees. Project MAC Technical Memorandum 69, M.I.T. Cambridge, MA., 1975

    Google Scholar 

  2. Fredman, M.L.: Two applications of a probabilistic search technique: sorting X + Y and building balanced search trees. Proc. 7th Ann. ACM Symp. Theor. Comput. 1975

  3. Knuth, D.E.: Optimum binary search trees. Acta Informat. 1, 14–25 (1971)

    Google Scholar 

  4. Knuth, D.E.: The art of computer programming, Volume 3: Sorting and searching. Reading, MA.: Addison-Wesley 1973

    Google Scholar 

  5. Mehlhorn, K.: A best possible bound for the weighted path length of binary search trees. SIAM J. Comput. 6, 235–239 (1977)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

⋆ This work was supported by the National Research Council of Canada, while the author was at the University of Waterloo

Rights and permissions

Reprints and permissions

About this article

Cite this article

Allen, B. On the costs of optimal and near-optimal binary search trees. Acta Informatica 18, 255–263 (1982). https://doi.org/10.1007/BF00263193

Download citation

  • Received:

  • Issue Date:

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

Keywords

Navigation