Greedy Is an Almost Optimal Deque
Parinya Chalermsook, Mayank Goswami, Laszlo Kozma, Kurt Mehlhorn,, Thatchaphol Saranurak

TL;DR
This paper extends the geometric BST model to include insertions and deletions, analyzes the Greedy BST algorithm's performance on deque sequences, and provides bounds and implications for dynamic optimality.
Contribution
It introduces an extended BST model with insertions/deletions, proves performance bounds for Greedy BST on deque sequences, and offers new insights into its potential for dynamic optimality.
Findings
Greedy BST has a quasilinear upper bound on deque sequences.
Greedy BST can serve output-restricted deque sequences in linear time.
Access cost for most permutations is Omega(n log n).
Abstract
In this paper we extend the geometric binary search tree (BST) model of Demaine, Harmon, Iacono, Kane, and Patrascu (DHIKP) to accommodate for insertions and deletions. Within this extended model, we study the online Greedy BST algorithm introduced by DHIKP. Greedy BST is known to be equivalent to a maximally greedy (but inherently offline) algorithm introduced independently by Lucas in 1988 and Munro in 2000, conjectured to be dynamically optimal. With the application of forbidden-submatrix theory, we prove a quasilinear upper bound on the performance of Greedy BST on deque sequences. It has been conjectured (Tarjan, 1985) that splay trees (Sleator and Tarjan, 1983) can serve such sequences in linear time. Currently neither splay trees, nor other general-purpose BST algorithms are known to fulfill this requirement. As a special case, we show that Greedy BST can serve…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Optimization and Search Problems · Machine Learning and Algorithms
