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 2O(log log n) bound of Guo, Pettie, Skora, and Wan [SODA 2026]. For every access sequence X on n keys and every initial tree T0, we obtain Greedy(X,T0)= O(n + OPTn(X) n). Here OPTn(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,T0) = O(n + OPTn(X) k). The additive O(n) term accounts for an arbitrary initial tree.
Create a lesson
Related papers
Expected-Case Behavior of Greedy Best First Search
Shared title terminologycs.DSMasataro Asai
Ultrametric Network Phylogenetic Diversity and the Greedy Algorithm
Shared title terminologycs.DSJannik Schestag, Mathias Weller
A 9/4 Lower Bound for Greedy Binary Search Trees
Shared title terminologycs.DSMoshe Lewenstein
Constant-competitive online graph exploration
Shared title terminologycs.DSJulia Baligacs, Christian Coester, Marek Zbysiński
Constant Competitive Ratios for Stochastic Online Metric Matching
Shared title terminologycs.DSChenglin Fan, Mingyu Kang
O(1)-Competitive Stochastic Online Metric Matching in General Metrics
Shared title terminologycs.DSJittat Fakcharoenphol, Pasin Manurangsi, Phanu Vajanopath