An Improved Bound for Random Binary Search Trees with Concurrent Insertions

Abstract : Recently, Aspnes and Ruppert (DISC 2016) defined the following simple random experiment to determine the impact of concurrency on the performance of binary search trees: n randomly permuted keys arrive one at a time. When a new key arrives, it is first placed into a buffer of size c. Whenever the buffer is full, or when all keys have arrived, an adversary chooses one key from the buffer and inserts it into the binary search tree. The ability of the adversary to choose the next key to insert among c buffered keys, models a distributed system, where up to c processes try to insert keys concurrently. Aspnes and Ruppert showed that the expected average depth of nodes in the resulting tree is O(log(n) + c) for a comparison-based adversary, which can only take the relative order of arrived keys into account. We generalize and strengthen this result. In particular, we allow an adversary that knows the actual values of all keys that have arrived, and show that the resulting expected average node depth is D_{avg}(n) + O(c), where D_{avg}(n) = 2ln(n) - Theta(1) is the expected average node depth of a random tree obtained in the standard unbuffered version of this experiment. Extending the bound by Aspnes and Ruppert to this stronger adversary model answers one of their open questions.
Document type :
Conference papers
Complete list of metadatas
Contributor : George Giakkoupis <>
Submitted on : Monday, December 3, 2018 - 12:14:08 AM
Last modification on : Monday, December 10, 2018 - 12:13:32 PM
Long-term archiving on : Monday, March 4, 2019 - 1:15:58 PM


Files produced by the author(s)


Données associées


George Giakkoupis, Philipp Woelfel. An Improved Bound for Random Binary Search Trees with Concurrent Insertions. STACS 2018 - 35th Symposium on Theoretical Aspects of Computer Science, Feb 2018, Caen, France. pp.1-13, ⟨10.4230/LIPIcs.STACS.2018.37⟩. ⟨hal-01942160⟩



Record views


Files downloads