arXiv · 2611.35169
Greedy BST is O(\log\log n)-Competitive
Abstract
Greedy is a principal candidate for dynamically optimal binary search trees. We prove that online Greedy is O(log log n)-competitive, improving the 2^{O(\sqrt{log log n})} bound of Guo, Pettie, Skora, and Wan [SODA 2026]. For every access sequence X on n keys and every initial tree T_0, we obtain Greedy(X,T_0)= O(n + OPT_n(X)\log\log n). Here OPT_n(X) is the minimum cost of an offline BST execution with a freely chosen initial tree. We further show that the competitive factor depends only on the number k of distinct requested keys: Greedy(X,T_0) = O(n + OPT_n(X)\log\log k). The additive O(n) term accounts for an arbitrary initial tree.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Moshe Lewenstein. 2026-11-25. Greedy BST is O(\log\log n)-Competitive. https://arxiv.science/abs/2611.35169
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.