Skip to main content
Log in

The joint distribution of the three types of nodes in uniform binary trees

  • Published:
Algorithmica Aims and scope Submit manuscript

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.

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.

Institutional subscriptions

Similar content being viewed by others

References

  1. Billingsley, P. (1968).Convergence of Probability Measures. Wiley, New York.

    Google Scholar 

  2. Brink, K. (1985). The expected performance of traversal algorithms in binary trees.The Computer Journal, vol. 28, pp. 426–432.

    Google Scholar 

  3. Brink, K., and Foo, N. (1981). Analysis of algorithms on threaded trees.The Computer Journal, vol. 24, pp. 148–155.

    Google Scholar 

  4. Devroye, L. (1991). Limit lkws for local counters in random binary search trees.Random Structures and Algorithms, vol. 2, pp. 303–315.

    Google Scholar 

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

    Google Scholar 

  6. Kemp, R. (1979). The average number of registers needed to evaluate a binary tree optimally.Acta Informatica, vol. 11, pp. 363–372.

    Google Scholar 

  7. Kemp, R. (1984).Fundamentals of the Average Case Analysis of Particular Algorithms. Wiley-Teubner Series in Computer Science, Wiley, New York.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

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

Reprints 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

Download citation

  • Received:

  • Revised:

  • Issue Date:

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

Key words

Navigation