Upper bounds for maximally greedy binary search trees

  • Authors:
  • Kyle Fox

  • Affiliations:
  • Department of Computer Science, University of Illinois, Urbana-Champaign

  • Venue:
  • WADS'11 Proceedings of the 12th international conference on Algorithms and data structures
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

At SODA 2009, Demaine et al. presented a novel connection between binary search trees (BSTs) and subsets of points on the plane. This connection was independently discovered by Derryberry et al. As part of their results, Demaine et al. considered GREEDYFUTURE, an offline BST algorithm that greedily rearranges the search path to minimize the cost of future searches. They showed that GREEDYFUTURE is actually an online algorithm in their geometric view, and that there is a way to turn GREEDYFUTURE into an online BST algorithm with only a constant factor increase in total search cost. Demaine et al. conjectured this algorithm was dynamically optimal, but no upper bounds were given in their paper. We prove the first non-trivial upper bounds for the cost of search operations using GREEDYFUTURE including giving an access lemma similar to that found in Sleator and Tarjan's classic paper on splay trees.