Abstract
This paper presents an analytic approach to the construction cost of fringe-balanced binary search trees. In [7], Mahmoud used a bottom-up approach and an urn model of Pólya. The present method is top-down and uses differential equations and Hwang's quasi-power theorem to derive the asymptotic normality of the number of rotations needed to construct such afringe balanced search tree. We also obtain the exact expectation and variance with this method. Although Pólya's urn model is no longer needed, we also present an elegant analysis of it based on an operator calculus as in [4].
Similar content being viewed by others
References
M. Abramowitz and I. A. Stegun, Handbook of Mathematical Functions, Eds., 9th Edition, Dover Publications, Inc., New York, 1970.
Ph. Flajolet and A. M. Odlyzko, Singularity analysis of generating functions, SIAM J. Discrete Math.3 (1990) 216–240.
Ph. Flajolet and R. Sedgewick, The average case analysis of algorithms: Multivariate asymptotics and limit distributions, Technical Report #3162, INRIA, 1997.
D. H. Greene and D. E. Knuth, Mathematics for the analysis of algorithms, 2nd Edition, Birkhäuser, Boston, 1982.
H.-K. Hwang, Théorèmes limites pour les structures combinatoires et les fonctions arithmétiques, PhD thesis, Ecole Polytechnique, 1994.
E. Kamke, Differentialgleichungen-Lösungsmethoden und Lösungen, Vol. 1, 10th Edition, Teubner, Stuttgart, 1983.
H. Mahmound, On rotations in fringe-balanced binary trees, Inform. Process. Lett.65 (1988) 41–46.
C. Martínez, A. Panholzer, and H. Prodinger, On the number of descendants and ascendants in random search trees, Electron. J. Combin.5(1) (1998) #R20.
P. Poblete and I. Munro, The analysis of a fringe heuristic for binary search trees, J. Algorithms6 (1985) 336–350.
R. Sedgewick and Ph. Flajolet, Introduction to the Analysis of Algorithms, Addison-Wesley, Reading, Massachusetts, 1996.
R. Smythe, Central limit theorems for urn models, Stochastic Process. Appl.65 (1996) 115–137.
W. Walker and D. Wood, Locally balanced binary search trees, Comput. J.19 (1976) 322–325.
H. Wenzel and P. Meinhold, Gewöhnliche Differentialgleichungen, Teubner, Stuttgart, 1994.
E. T. Whittaker and G.N. Watson, A Course of Modern Analysis, 4th Edition, University Press, Cambridge, 1927.
Author information
Authors and Affiliations
Additional information
This research was supported by the Austrian Research Society (FWF) under the project number P12599-MAT.
Rights and permissions
About this article
Cite this article
Panholzer, A., Prodinger, H. An analytic approach for the analysis of rotations in fringe-balanced binary search trees. Annals of Combinatorics 2, 173–184 (1998). https://doi.org/10.1007/BF01608487
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF01608487