The average height of binary trees and other simple trees

作者:

Highlights:

摘要

The average height of a binary tree with n internal nodes is shown to be asymptotic to 2√πn. This represents the average stack height of the simplest recursive tree traversal algorithm. The method used in this estimation is also applicable to the analysis of traversal algorithms of unary-binary trees, unbalanced 2–3 trees, t-ary trees for any t, and other families of trees. It yields the two previously known estimates about average heights of trees, namely for labeled nonplanar trees (a result due to Renyi and Szekeres) and for planar trees (a result of De Bruijn, Knuth, and Rice). The method developed here, which relies on a singularity analysis of generating functions, is new and widely applicable.

论文关键词:

论文评审过程:Received 5 January 1981, Revised 14 April 1982, Available online 2 December 2003.

论文官网地址:https://doi.org/10.1016/0022-0000(82)90004-6