Skip to main content
Log in

A Note on the Asymptotic Behavior of the Depth of Tries

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract.

We analyze the depth distribution of digital trees called tries. Assuming that the trie is constructed from n statistically independent binary strings, we compute the probability that the depth is equal to k . We study this probability asymptotically, for n and / or k large. We obtain detailed results for \( n \to \infty \) and various ranges of k . This supplements previous work, which mostly involves computing the limiting distribution as \( n \to \infty \) . Our analysis also gives an accurate description of the tails of the probability distribution. If the symbols in the string are zeros and ones, we assume they occur independently with respective probabilities q and p=1-q . We study the symmetric model (p=q= \(\frac12\) ), the nonsymmetric model \( (p \ne q) \) , and the ``nearly symmetric'' model. In the latter we have \( n \to \infty \) and simultaneously p-q \( \to \) 0. Here we obtain a new limiting probability distribution, that interpolates the well-known extreme value (p=q) and normal \((p \ne q)\) distributions.

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.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received November 10, 1997; revised February 15, 1997.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Knessl, C. A Note on the Asymptotic Behavior of the Depth of Tries . Algorithmica 22, 547–560 (1998). https://doi.org/10.1007/PL00009239

Download citation

  • Issue Date:

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

Navigation