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
Preview
Unable to display preview. Download preview PDF.
References
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.
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.
D. E. Knuth, “The Art of Computer Programming”, vol. 3 “Sorting and Searching”, Addison-Wesley, reading, Mass., 1973.
J. Nievergelt and C. K. Wong, “Upper Bounds for the Total Path length of Binary Trees”, J. ACM 20, 1, pp. 1–6, 1973.
W. Specht, “Zur Theorie der Elementaren Mittel”, Math. Z. 74, 1960, pp. 91–98.
Author information
Authors and Affiliations
Editor information
Rights 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