Abstract
We prove that the internal path length of an AVL tree of size N is bounded from above by
and show that this bound is achieved by an infinite family of AVL trees. But AVL trees of maximal height do not have maximal path length. These results carry over to the comparison cost of brother trees.
This work was partially supported by a Natural Sciences and Engineering Research Council of Canada Grant A-5692. It was done during the first author's stay with the Data Structuring Group in Waterloo in 1986/1987.
Preview
Unable to display preview. Download preview PDF.
References
G.M. Adel'son-Vel'skii and Y.M. Landis. An algorithm for the organization of information. Doklady Akademi Nauk, 146:263–266, 1962.
A. Brüggemann-Klein and D. Wood. Drawing Trees Nicely with T EX. Technical Report CS-87-05, Department of Computer Science, University of Waterloo, 1987.
C.C. Foster. Information storage and retrieval using AVL trees. In Proccedings of the ACM National Conference, pages 192–205, 1965.
G. Gonnet. Balancing binary trees by internal path reduction. Communications of the ACM, 26:1074–1081, 1983.
R. Klein and D. Wood. On the Path Length of Binary Trees. Technical Report CS-87-06, Department of Computer Science, University of Waterloo, 1987.
D.E. Knuth. The Art of Computer Programming, Vol.3: Sorting and Searching. Addison-Wesley Publishing Co., Reading, Mass., 1973.
Th. Ottmann, D.St. Parker, A.L. Rosenberg, H.-W. Six, and D. Wood. Minimal-cost brother trees. SIAM Journal on Computing, 13:197–217, 1984.
Th. Ottmann and H.-W. Six. Eine neue Klasse von ausgeglichenen Binärbäumen. Angewandte Informatik, 9:395–400, 1976.
Th. Ottmann, H.-W. Six, and D. Wood. On the correspondence between AVL trees and brother trees. Computing, 23:43–54, 1979.
Th. Ottmann and D. Wood. 1–2 brother trees or AVL trees revisited. Computer Journal, 23:248–255, 1981.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1988 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Klein, R., Wood, D. (1988). On the maximum path length of AVL trees. In: Dauchet, M., Nivat, M. (eds) CAAP '88. CAAP 1988. Lecture Notes in Computer Science, vol 299. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0026093
Download citation
DOI: https://doi.org/10.1007/BFb0026093
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-19021-9
Online ISBN: 978-3-540-38930-9
eBook Packages: Springer Book Archive