Patterns in random binary search trees
Philippe Flajolet, Xavier Gourdon, Conrado Mart�nez · Random Structures and Algorithms · 1997
In a randomly grown binary search tree (BST) of size n, any fixed pattern occurs with a frequency that is on average proportional to n. Deviations from the average case are highly unlikely and well quantified by a Gaussian law. Trees with forbidden patterns occur with an exponentially small probability that is characterized in terms of Bessel functions. The results obtained extend to BSTs a type of property otherwise known for strings and combinatorial tree models. They apply to paged trees or to quicksort with halting on short subfiles. As a consequence, various pointer saving strategies for maintaining trees obeying the random BST model can be precisely quantified. The methods used are based on analytic models, especially bivariate generating function subjected to singularity perturbation asymptotics. © 1997 John Wiley & Sons, Inc. Random Struct. Alg., 11: 223–244, 1997
Cited by 70 works. doi:10.1002/(sici)1098-2418(199710)11:3<223::aid-rsa2>3.0.co;2-2
Authors
References
- An introduction to probability theory and its applications
- A Course of Modern Analysis
- Random Graphs
- The Art of Computer Programming: Volume 3: Sorting and Searching
- Randomized Algorithms
- Sorting and Searching
- Applied and Computational Complex Analysis
- Analytic function theory
- Saddlepoint Approximations in Statistics
- Introduction to Computational Biology