Skip to main contentSkip to search
Episciences
Open Access Journals
Sign in(new window)
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Sign in(new window)
Articles & Issues
All articlesAll accepted articlesAll volumesLast volumeSectionsSpecial issuesAuthors
About
The journalIndexing
Boards
Publish
For authorsEthical charter
Submit
Discrete Mathematics & Theoretical Computer Science logo
Contact
|
Credits
eISSN 1365-8050
|
RSS
|
Atom
Episciences
Documentation
|
Acknowledgements
|
Publishing policy
Accessibility: non-compliant
|
Legal mentions
|
Privacy statement
|
Terms of use
  1. Home > Articles & Issues >
  2. Articles >
  3. Average depth in a b ...
Conference paper

Average depth in a binary search tree with repeated keys

Margaret Archibald (1), Julien Clément ORCID (2) (3)
(1) School of Mathematics [Johannesburg]
(2) Equipe AMACC - Laboratoire GREYC - UMR6072
(3) Laboratoire d'Informatique Gaspard-Monge
Download article
Open on HAL
Imported on
May 10, 2017
Published on
December 31, 2005
Last modified on
March 31, 2025
Volume 0
DMTCS Proceedings vol. AG, Fourth Colloquium on Mathematics and Computer Science Algorithms, Trees, Combinatorics and Probabilities
Proceedings
DOI
10.46298/dmtcs.3496
License
https://about.hal.science/hal-authorisation-v1
Indicators
658
Views
450
Downloads

Average depth in a binary search tree with repeated keys

Margaret Archibald (1), Julien Clément ORCID (2) (3)
(1) School of Mathematics [Johannesburg]
(2) Equipe AMACC - Laboratoire GREYC - UMR6072
(3) Laboratoire d'Informatique Gaspard-Monge
Abstract
Random sequences from alphabet $\{1, \ldots,r\}$ are examined where repeated letters are allowed. Binary search trees are formed from these, and the average left-going depth of the first $1$ is found. Next, the right-going depth of the first $r$ is examined, and finally a merge (or 'shuffle') operator is used to obtain the average depth of an arbitrary node, which can be expressed in terms of the left-going and right-going depths. The variance of each of these parameters is also found.
Keywords
  • [INFO.INFO-DS]Computer Science [cs]/Data Structures and Algorithms [cs.DS]
  • [INFO.INFO-DM]Computer Science [cs]/Discrete Mathematics [cs.DM]
  • [MATH.MATH-CO]Mathematics [math]/Combinatorics [math.CO]
  • Binary search trees
  • average case analysis
  • repeated keys
  • multiset
  • shuffle product
Cited by

Source: OpenCitations

  • Weighted height of random trees

    Acta Informatica

    Authors : N. Broutin, L. Devroye ORCID, E. McLeish

    Journal reference : Volume 45, 2008, pp. 237-277

    DOI : 10.1007/s00236-008-0069-0
  • An Analysis of the Height of Tries with Random Weights on the Edges

    Combinatorics Probability Computing

    Authors : N. BROUTIN, L. DEVROYE ORCID

    Journal reference : Volume 17, 2007, pp. 161-202

    DOI : 10.1017/s0963548307008796
Preview
Loading PDF preview...