Top-Down Skiplists

Abstract

We describe todolists (top-down skiplists), a variant of skiplists (Pugh 1990) that can execute searches using at most 2- n + O(1) binary comparisons per search and that have amortized update time O(-1 n). A variant of todolists, called working-todolists, can execute a search for any element x using 2- w(x) + o( w(x)) binary comparisons and have amortized search time O(-1 w(w)). Here, w(x) is the "working-set number" of x. No previous data structure is known to achieve a bound better than 42 w(x) comparisons. We show through experiments that, if implemented carefully, todolists are comparable to other common dictionary implementations in terms of insertion times and outperform them in terms of search times.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…