Skip to Main content Skip to Navigation
New interface
Conference papers

Average depth in a binary search tree with repeated keys

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.
Complete list of metadata

Cited literature [6 references]  Display  Hide  Download
Contributor : Coordination Episciences Iam Connect in order to contact the contributor
Submitted on : Monday, August 17, 2015 - 2:24:12 PM
Last modification on : Saturday, June 25, 2022 - 9:49:55 AM
Long-term archiving on: : Wednesday, November 18, 2015 - 12:08:23 PM


Publisher files allowed on an open archive



Margaret Archibald, Julien Clément. Average depth in a binary search tree with repeated keys. Fourth Colloquium on Mathematics and Computer Science Algorithms, Trees, Combinatorics and Probabilities, 2006, Nancy, France. pp.309-320, ⟨10.46298/dmtcs.3496⟩. ⟨hal-01184700⟩



Record views


Files downloads