Improved Pattern-Avoidance Bounds for Greedy BSTs via Matrix Decomposition
Parinya Chalermsook, Manoj Gupta, Wanchote Jiamjitrak, Nidia Obscura Acosta, Akash Pareek, Sorrachai Yingchareonthawornchai
Abstract
Greedy BST (or simply Greedy) is an online self-adjusting binary search tree defined in the geometric view ([Lucas, 1988; Munro, 2000; Demaine, Harmon, Iacono, Kane, Patrascu, SODA 2009). Along with Splay trees (Sleator, Tarjan 1985), Greedy is considered the most promising candidate for being dynamically optimal, i.e., starting with any initial tree, their access costs on any sequence is conjectured to be within O(1) factor of the offline optimal. However, despite having received a lot of attention in the past four decades, the question has remained elusive even for highly restricted input. In this paper, we prove new bounds on the cost of Greedy in the “pattern avoidance” regime. Our new results include: • The (preorder) traversal conjecture for Greedy holds up to a factor of O(2α(n)), improving upon the bound of 2α(n)O(1) in (Chalermsook et al., FOCS 2015) where α(n) is the inverse Ackermann function of n. This is the best known bound obtained by any online BSTs. • We settle the postorder traversal conjecture for Greedy. Previously this was shown for Splay trees only in certain special cases (Levy and Tarjan, WADS 2019). • The deque conjecture for Greedy holds up to a factor of O(α(n)), improving upon the bound 2O(α(n)) in (Chalermsook, et al., WADS 2015). This is arguably “one step away” from the bound O(α*(n)) for Splay trees (Pettie, SODA 2010). • The split conjecture holds for Greedy up to a factor of O(2α(n)). Previously the factor of O(α(n)) was shown for Splay trees only in a special case (Lucas, 1988). The input sequences in traversal and deque conjectures are perhaps “easiest” in the pattern-avoiding input classes and yet among the most notorious special cases of the dynamic optimality conjecture. Key to all these results is to partition (based on the input structures) the execution log of Greedy into several simpler-to-analyze subsets for which classical forbidden submatrix bounds can be leveraged. We believe that this simple method will find further applications in doing amortized analysis of data structures via extremal combinatorics. Finally, we show the applicability of this technique to handle a class of increasingly complex pattern-avoiding input sequences, called k-increasing sequences. As a bonus, we discover a new class of permutation matrices whose extremal bounds are polynomially bounded. This gives a partial progress on an open question by Jacob Fox (2013). * The full version of the paper can be accessed at https://arxiv.org/abs/2211.04112
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Optimization with Pattern-Avoiding Input cites An Optimal Algorithm for Sorting Pattern-Avoiding Sequences
- An Optimal Algorithm for Sorting Pattern-Avoiding Sequences cites Optimization with Pattern-Avoiding Input
- Optimization with Pattern-Avoiding Input cites Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns
- An Optimal Algorithm for Sorting Pattern-Avoiding Sequences cites Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns
- Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns cites On the Extremal Functions of Acyclic Forbidden 0-1 Matrices
- A Refutation of the Pach-Tardos Conjecture for 0-1 Matrices cites Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns
- A Refutation of the Pach-Tardos Conjecture for 0-1 Matrices cites On the Extremal Functions of Acyclic Forbidden 0-1 Matrices
Cited by top-tier papers6
- Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product PatternsParinya Chalermsook, Seth Pettie, Sorrachai YingchareonthawornchaiSODA 2024 · 4 citations
- On the Extremal Functions of Acyclic Forbidden 0-1 MatricesSeth Pettie, Gábor TardosSODA 2024 · 2 citations
- Optimization with Pattern-Avoiding InputBenjamin Aram Berendsohn, László Kozma, Michal OplerSTOC 2024 · 1 citation
- An Optimal Algorithm for Sorting Pattern-Avoiding SequencesMichal OplerFOCS 2024 · 1 citation
- A Refutation of the Pach-Tardos Conjecture for 0-1 MatricesSeth Pettie, Gábor TardosSODA 2025 · 1 citation
Related papers
- Splay trees on treesBenjamin Aram Berendsohn, László KozmaSODA 2022 · 10 citations
- SeedTree: A Dynamically Optimal and Local Self-Adjusting TreeArash Pourdamghani, Chen Avin, Robert Sama, Stefan SchmidINFOCOM 2023 · 2 citations
- Lazy Search TreesBryce Sandlund, Sebastian WildFOCS 2020 · 1 citation
- Universal Multiclass Transductive Online LearningSteve Hanneke, Hongao WangICML 2026
- Dynamic "Succincter"Tianxiao Li, Jingxun Liang, Huacheng Yu, Renfei ZhouFOCS 2023 · 3 citations
