Skip to main content
Log in

A note on the average depth of tries

Eine Bemerkung über die mittlere Höhe von Bäumen

  • Short Communications
  • Published:
Computing Aims and scope Submit manuscript

Abstract

LetA n be the average root-to-leaf distance in a binary trie formed by the binary fractional expansions ofn independent random variablesX 1,...,X n with common densityf on [0, 1). We show thateither E(A n )=∞ for alln≥2or \(\mathop {\lim }\limits_n E(A_n )/\log _2 n = 1\) depending on whether ∫f 2 (x)dx = ∞ or ∫f 2 (x)dx < ∞.

Zusammenfassung

SeiA n der mittlere Wurzel-zu-Blatt-Abstand in einem binären Baum, der durch die Dualbruchentwicklungen vonn unabhängigen ZufallsveränderlichenX 1,...,X n mit gemeinsamer Dichtef auf [0, 1) entsteht. Wir zeigen, daßentweder E(A n )=∞ für allen≥2oder \(\mathop {\lim }\limits_n E(A_n )/\log _2 n = 1\), je nachdem, ob ∫f 2 (x)dx = ∞ oder ∫f 2 (x)dx < ∞.

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.

References

  1. Breiman, L.: Probability. Reading, Mass.: Addison-Wesley 1968.

    Google Scholar 

  2. Fredkin, E. H.: Trie memory. Communications of the ACM3, 490–500 (1960).

    Google Scholar 

  3. Knuth, D. E.: The art of computer programming; Vol. 1: Fundamental algorithms. Reading, Mass.: Addison-Wesley 1973a.

    Google Scholar 

  4. Knuth, D. E.: The art of computer programming; Vol. 3: Searching and sorting. Reading, Mass.: Addison-Wesley 1973b.

    Google Scholar 

  5. Wheeden, R. L., Zygmund, A.: Measure and integral. New York: Marcel Dekker 1977.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Devroye, L. A note on the average depth of tries. Computing 28, 367–371 (1982). https://doi.org/10.1007/BF02279819

Download citation

  • Received:

  • Issue Date:

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

Key words and phrases

Navigation