English

The height of Mallows trees

Probability 2020-07-28 v1 Combinatorics

Abstract

Random binary search trees are obtained by recursively inserting the elements σ(1),σ(2),,σ(n)\sigma(1),\sigma(2),\ldots,\sigma(n) of a uniformly random permutation σ\sigma of [n]={1,,n}[n]=\{1,\dots,n\} into a binary search tree data structure. Devroye (1986) proved that the height of such trees is asymptotically of order clognc^*\log n, where c=4.311c^*=4.311\ldots is the unique solution of clog((2e)/c)=1c \log((2e)/c)=1 with c2c \geq 2. In this paper, we study the structure of binary search trees Tn,qT_{n,q} built from Mallows permutations. A Mallows(q)\textrm{Mallows}(q) permutation is a random permutation of [n]={1,,n}[n]=\{1,\ldots,n\} whose probability is proportional to qInv(σ)q^{\textrm{Inv}(\sigma)}, where Inv(σ)=#{i<j:σ(i)>σ(j)}\textrm{Inv}(\sigma) = \#\{i < j: \sigma(i) > \sigma(j)\}. This model generalizes random binary search trees, since Mallows(q)\textrm{Mallows}(q) permutations with q=1q=1 are uniformly distributed. The laws of Tn,qT_{n,q} and Tn,q1T_{n,q^{-1}} are related by a simple symmetry (switching the roles of the left and right children), so it suffices to restrict our attention to q1q\leq1. We show that, for q[0,1]q\in[0,1], the height of Tn,qT_{n,q} is asymptotically (1+o(1))(clogn+n(1q))(1+o(1))(c^* \log n + n(1-q)) in probability. This yields three regimes of behaviour for the height of Tn,qT_{n,q}, depending on whether n(1q)/lognn(1-q)/\log n tends to zero, tends to infinity, or remains bounded away from zero and infinity. In particular, when n(1q)/lognn(1-q)/\log n tends to zero, the height of Tn,qT_{n,q} is asymptotically of order clognc^*\log n, like it is for random binary search trees. Finally, when n(1q)/lognn(1-q)/\log n tends to infinity, we prove stronger tail bounds and distributional limit theorems for the height of Tn,qT_{n,q}.

Keywords

Cite

@article{arxiv.2007.13728,
  title  = {The height of Mallows trees},
  author = {Louigi Addario-Berry and Benoît Corsini},
  journal= {arXiv preprint arXiv:2007.13728},
  year   = {2020}
}

Comments

52 pages

R2 v1 2026-06-23T17:26:27.762Z