MPI-INF/SWS Research Reports 1991-2021

2. Number - All Departments


Finger search trees with constant insertion time

Brodal, Gerth Stølting

September 1997, 17 pages.

Status: available - back from printing

We consider the problem of implementing finger search trees on the pointer machine, {\it i.e.}, how to maintain a sorted list such that searching for an element $x$, starting the search at any arbitrary element $f$ in the list, only requires logarithmic time in the distance between $x$ and $f$ in the list. We present the first pointer-based implementation of finger search trees allowing new elements to be inserted at any arbitrary position in the list in worst case constant time. Previously, the best known insertion time on the pointer machine was $O(\log^* n)$, where $n$ is the total length of the list. On a unit-cost RAM, a constant insertion time has been achieved by Dietz and Raman by using standard techniques of packing small problem sizes into a constant number of machine words. Deletion of a list element is supported in $O(\log^* n)$ time, which matches the previous best bounds. Our data structure requires linear space.

  • Attachement: (178 KBytes)

URL to this document:

Hide details for BibTeXBibTeX
  AUTHOR = {Brodal, Gerth Stølting},
  TITLE = {Finger search trees with constant insertion time},
  TYPE = {Research Report},
  INSTITUTION = {Max-Planck-Institut f{\"u}r Informatik},
  ADDRESS = {Im Stadtwald, D-66123 Saarbr{\"u}cken, Germany},
  NUMBER = {MPI-I-97-1-020},
  MONTH = {September},
  YEAR = {1997},
  ISSN = {0946-011X},