Skip to main content
Log in

An analytic approach for the analysis of rotations in fringe-balanced binary search trees

  • Published:
Annals of Combinatorics Aims and scope Submit manuscript

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].

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. M. Abramowitz and I. A. Stegun, Handbook of Mathematical Functions, Eds., 9th Edition, Dover Publications, Inc., New York, 1970.

    Google Scholar 

  2. Ph. Flajolet and A. M. Odlyzko, Singularity analysis of generating functions, SIAM J. Discrete Math.3 (1990) 216–240.

    Google Scholar 

  3. Ph. Flajolet and R. Sedgewick, The average case analysis of algorithms: Multivariate asymptotics and limit distributions, Technical Report #3162, INRIA, 1997.

  4. D. H. Greene and D. E. Knuth, Mathematics for the analysis of algorithms, 2nd Edition, Birkhäuser, Boston, 1982.

    Google Scholar 

  5. H.-K. Hwang, Théorèmes limites pour les structures combinatoires et les fonctions arithmétiques, PhD thesis, Ecole Polytechnique, 1994.

  6. E. Kamke, Differentialgleichungen-Lösungsmethoden und Lösungen, Vol. 1, 10th Edition, Teubner, Stuttgart, 1983.

    Google Scholar 

  7. H. Mahmound, On rotations in fringe-balanced binary trees, Inform. Process. Lett.65 (1988) 41–46.

    Google Scholar 

  8. 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.

    Google Scholar 

  9. P. Poblete and I. Munro, The analysis of a fringe heuristic for binary search trees, J. Algorithms6 (1985) 336–350.

    Google Scholar 

  10. R. Sedgewick and Ph. Flajolet, Introduction to the Analysis of Algorithms, Addison-Wesley, Reading, Massachusetts, 1996.

    Google Scholar 

  11. R. Smythe, Central limit theorems for urn models, Stochastic Process. Appl.65 (1996) 115–137.

    Google Scholar 

  12. W. Walker and D. Wood, Locally balanced binary search trees, Comput. J.19 (1976) 322–325.

    Google Scholar 

  13. H. Wenzel and P. Meinhold, Gewöhnliche Differentialgleichungen, Teubner, Stuttgart, 1994.

    Google Scholar 

  14. E. T. Whittaker and G.N. Watson, A Course of Modern Analysis, 4th Edition, University Press, Cambridge, 1927.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

This research was supported by the Austrian Research Society (FWF) under the project number P12599-MAT.

Rights and permissions

Reprints 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

Download citation

  • Received:

  • Issue Date:

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

AMS Subject Classification

Keywords

Navigation