Abstract
We consider random binary trees under the uniform probability model. Such trees have three types of nodes: Nodes of outdegree 0 (the leaves), 1, and 2. We determine the exact distribution of the number of nodes of each type and show that jointly the three types of nodes asymptotically have a trivariate normal distribution. That trivariate normal limit distribution is completely characterized.
Similar content being viewed by others
References
Billingsley, P. (1968).Convergence of Probability Measures. Wiley, New York.
Brink, K. (1985). The expected performance of traversal algorithms in binary trees.The Computer Journal, vol. 28, pp. 426–432.
Brink, K., and Foo, N. (1981). Analysis of algorithms on threaded trees.The Computer Journal, vol. 24, pp. 148–155.
Devroye, L. (1991). Limit lkws for local counters in random binary search trees.Random Structures and Algorithms, vol. 2, pp. 303–315.
Flajolet, P., Raoult, J., and Vuillemin, J. (1979). The number of registers required for evaluating arithmetic expressions.Theoretical Computer Science, vol. 9, pp. 99–125.
Kemp, R. (1979). The average number of registers needed to evaluate a binary tree optimally.Acta Informatica, vol. 11, pp. 363–372.
Kemp, R. (1984).Fundamentals of the Average Case Analysis of Particular Algorithms. Wiley-Teubner Series in Computer Science, Wiley, New York.
Author information
Authors and Affiliations
Additional information
Communicated by Kurt Mehlhorn.
This research has been supported in part by a grant from NSA: Contract Number MDA904-92-H3086.
Rights and permissions
About this article
Cite this article
Mahmoud, H.M. The joint distribution of the three types of nodes in uniform binary trees. Algorithmica 13, 313–323 (1995). https://doi.org/10.1007/BF01190510
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01190510