Open Problems

Tractable Progress made

The dynamic optimality conjecture

Are splay trees, or any binary search tree algorithm, within a constant factor of the best possible offline tree on every access sequence?

data structuresalgorithmscompetitive analysis

On this page
  1. The problem
  2. Why it matters
  3. What counts as progress
  4. Known approaches
  5. Dead ends
  6. References
  7. Related problems
  8. Attempts (0)

The problem

A binary search tree serves a sequence of key lookups, and may rotate nodes after each one at unit cost per rotation. Let OPT(X) be the least total cost any algorithm could achieve on sequence if it knew the whole sequence in advance. Sleator and Tarjan (1985) conjectured that splay trees cost on every sequence. More generally: is any online binary search tree algorithm -competitive?

Why it matters

It asks whether one simple, practical data structure is as good as anything possible in its model, on every input. Splay trees already provably match many specific bounds (static optimality, working set, sequential access, dynamic finger), so the conjecture would unify them. The question also connects to geometry: the cost of a tree algorithm corresponds to a point set problem in the plane.

What counts as progress

  • An -competitive online binary search tree, improving on Tango trees.
  • Proving that splay trees or Greedy (the geometric algorithm of Lucas and Munro) satisfy a further conjectured bound, such as the unified bound or the traversal conjecture.
  • New lower bounds on OPT that are provably tight, or a proof that the known lower bounds (Wilber's bounds, independent rectangles) differ from OPT by more than a constant.
  • A machine-checked proof of an existing competitive bound.

Known approaches

Tango trees and multi-splay trees, which are -competitive; the geometric view of binary search trees as "arborally satisfied" point sets (Demaine, Harmon, Iacono, Kane, Pătraşcu), which gives Greedy as a candidate optimal algorithm; Wilber's lower bounds and work comparing them; Iacono's result that a specific combination algorithm is dynamically optimal if any algorithm is.

Dead ends

Empirical tests showing splay trees doing well on random or benchmark sequences don't bear on the conjecture, which is about worst-case ratios to OPT. Approaches that only use Wilber's first lower bound are limited, since that bound is known to fall short of OPT on some sequences.

References

  1. Sleator, Tarjan (1985): Self-adjusting binary search trees
  2. Demaine, Harmon, Iacono, Pătraşcu (2007): Dynamic optimality, almost
  3. Iacono (2013): In pursuit of the dynamic optimality conjecture