Tight bounds on the path length of binary trees | SpringerLink
Skip to main content

Tight bounds on the path length of binary trees

  • Algorithms II
  • Conference paper
  • First Online:
STACS 91 (STACS 1991)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 480))

Included in the following conference series:

Abstract

The external path length of a tree T is the sum of the lengths of the paths from the root to the external nodes. The maximal path length difference Δ is the difference of the lengths of the longest and shortest such path.

The external path length of binary trees with a given maximal path length difference Δ and given number of external nodes N has been studied by Klein and Wood. Namely, they have given upper bounds by using some results in [5] concerning properties of the ratio of the geometric and the harmonic means of integers (see [1]) and Lagrange multipliers (see [2]).

In this paper, we develop a new and very simple technique to obtain upper bounds. This allows us to present a simple derivation of their upper bound and successively improve their result. Namely, we derive a more precise upper bound that is also tight for every Δ and infinitely many N. We also manage to characterize for each N the tree with longest path length and Δ=2 and thus derive a matching upper bound for the case Δ=2; i.e. a bound that is achieved for all N. Finally, we initiate the study of lower bounds by presenting a matching lower bound for the case Δ=2.

Part of this work was done while the author was visiting IBM Research Division, T. J. Watson Research Ctr, Yorktown Heights, NY 10598.

Partially supported by ONR Grant # N00039-88-C-0613

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. R. Klein and D. Wood, “On the Path Length of Binary Trees”, Journal of the ACM, vol. 36, n. 2, April 1989, pp. 280–289.

    Article  Google Scholar 

  2. R. Klein and D. Wood, “On the Path Length of Binary Trees”, Information Processing 89, Proceedings of the IFIP 11th World Computer Congress, San Francisco, USA, August 28–September 1, 1989.

    Google Scholar 

  3. D. E. Knuth, “The Art of Computer Programming”, vol. 3 “Sorting and Searching”, Addison-Wesley, reading, Mass., 1973.

    Google Scholar 

  4. J. Nievergelt and C. K. Wong, “Upper Bounds for the Total Path length of Binary Trees”, J. ACM 20, 1, pp. 1–6, 1973.

    Article  Google Scholar 

  5. W. Specht, “Zur Theorie der Elementaren Mittel”, Math. Z. 74, 1960, pp. 91–98.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Christian Choffrut Matthias Jantzen

Rights and permissions

Reprints and permissions

Copyright information

© 1991 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

De Santis, A., Persiano, G. (1991). Tight bounds on the path length of binary trees. In: Choffrut, C., Jantzen, M. (eds) STACS 91. STACS 1991. Lecture Notes in Computer Science, vol 480. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0020822

Download citation

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

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-53709-0

  • Online ISBN: 978-3-540-47002-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics