ID: cs/0210006

Dynamic Ordered Sets with Exponential Search Trees

October 9, 2002

View on ArXiv

Similar papers 3

Succinct Filters for Sets of Unknown Sizes

April 26, 2020

83% Match
Mingmou Liu, Yitong Yin, Huacheng Yu
Data Structures and Algorith...

The membership problem asks to maintain a set $S\subseteq[u]$, supporting insertions and membership queries, i.e., testing if a given element is in the set. A data structure that computes exact answers is called a dictionary. When a (small) false positive rate $\epsilon$ is allowed, the data structure is called a filter. The space usages of the standard dictionaries or filters usually depend on the upper bound on the size of $S$, while the actual set can be much smaller. ...

Find SimilarView on arXiv

c-trie++: A Dynamic Trie Tailored for Fast Prefix Searches

April 16, 2019

83% Match
Kazuya Tsuruta, Dominik Köppl, Shunsuke Kanda, Yuto Nakashima, Shunsuke Inenaga, ... , Takeda Masayuki
Data Structures and Algorith...
Information Retrieval

Given a dynamic set $K$ of $k$ strings of total length $n$ whose characters are drawn from an alphabet of size $\sigma$, a keyword dictionary is a data structure built on $K$ that provides locate, prefix search, and update operations on $K$. Under the assumption that $\alpha = w / \lg \sigma$ characters fit into a single machine word $w$, we propose a keyword dictionary that represents $K$ in $n \lg \sigma + \Theta(k \lg n)$ bits of space, supporting all operations in $O(m / ...

Find SimilarView on arXiv

Secondary Indexing in One Dimension: Beyond B-trees and Bitmap Indexes

November 18, 2008

83% Match
Rasmus Pagh, S. Srinivasa Rao
Databases
Data Structures and Algorith...

Let S be a finite, ordered alphabet, and let x = x_1 x_2 ... x_n be a string over S. A "secondary index" for x answers alphabet range queries of the form: Given a range [a_l,a_r] over S, return the set I_{[a_l;a_r]} = {i |x_i \in [a_l; a_r]}. Secondary indexes are heavily used in relational databases and scientific data analysis. It is well-known that the obvious solution, storing a dictionary for the position set associated with each character, does not always give optimal q...

Find SimilarView on arXiv

Fully-Dynamic Space-Efficient Dictionaries and Filters with Constant Number of Memory Accesses

November 12, 2019

83% Match
Ioana O. Bercea, Guy Even
Data Structures and Algorith...

A fully-dynamic dictionary is a data structure for maintaining sets that supports insertions, deletions and membership queries. A filter approximates membership queries with a one-sided error. We present two designs: 1. The first space-efficient fully-dynamic dictionary that maintains both sets and random multisets and supports queries, insertions, and deletions with a constant number of memory accesses in the worst case with high probability. The comparable dictionary of A...

Find SimilarView on arXiv

The Dynamic Longest Increasing Subsequence Problem

September 30, 2013

83% Match
Alex Chen, Timothy Chu, Nathan Pinsker
Data Structures and Algorith...

In this paper, we construct a data structure to efficiently compute the longest increasing subsequence of a sequence subject to dynamic updates. Our data structure supports a query for the longest increasing subsequence in $O(r+\log n)$ worst-case time and supports inserts anywhere in the sequence in $O \left(r\log{n/r}\right)$ worst-case time (where $r$ is the length of the longest increasing subsequence). The same data structure with a minor modification supports $O(\log n)...

Find SimilarView on arXiv

Compressed Data Structures for Dynamic Sequences

July 24, 2015

83% Match
J. Ian Munro, Yakov Nekrich
Data Structures and Algorith...

We consider the problem of storing a dynamic string $S$ over an alphabet $\Sigma=\{\,1,\ldots,\sigma\,\}$ in compressed form. Our representation supports insertions and deletions of symbols and answers three fundamental queries: $\mathrm{access}(i,S)$ returns the $i$-th symbol in $S$, $\mathrm{rank}_a(i,S)$ counts how many times a symbol $a$ occurs among the first $i$ positions in $S$, and $\mathrm{select}_a(i,S)$ finds the position where a symbol $a$ occurs for the $i$-th ti...

Find SimilarView on arXiv

Predecessor search with distance-sensitive query time

September 24, 2012

83% Match
Djamal Belazzougui, Paolo Boldi, Sebastiano Vigna
Data Structures and Algorith...

A predecessor (successor) search finds the largest element $x^-$ smaller than the input string $x$ (the smallest element $x^+$ larger than or equal to $x$, respectively) out of a given set $S$; in this paper, we consider the static case (i.e., $S$ is fixed and does not change over time) and assume that the $n$ elements of $S$ are available for inspection. We present a number of algorithms that, with a small additional index (usually of O(n log w) bits, where $w$ is the string...

Find SimilarView on arXiv

Cache-Oblivious Implicit Predecessor Dictionaries with the Working Set Property

December 22, 2011

83% Match
Gerth Stølting Brodal, Casper Kejlberg-Rasmussen
Data Structures and Algorith...

In this paper we present an implicit dynamic dictionary with the working-set property, supporting insert(e) and delete(e) in O(log n) time, predecessor(e) in O(log l_{p(e)}) time, successor(e) in O(log l_{s(e)}) time and search(e) in O(log min(l_{p(e)},l_{e}, l_{s(e)})) time, where n is the number of elements stored in the dictionary, l_{e} is the number of distinct elements searched for since element e was last searched for and p(e) and s(e) are the predecessor and successor...

Find SimilarView on arXiv

Dynamic Trees with Almost-Optimal Access Cost

June 27, 2018

83% Match
Mordecai Golin, John Iacono, Stefan Langerman, ... , Nekrich Yakov
Data Structures and Algorith...

An optimal binary search tree for an access sequence on elements is a static tree that minimizes the total search cost. Constructing perfectly optimal binary search trees is expensive so the most efficient algorithms construct almost optimal search trees. There exists a long literature of constructing almost optimal search trees dynamically, i.e., when the access pattern is not known in advance. All of these trees, e.g., splay trees and treaps, provide a multiplicative approx...

Find SimilarView on arXiv

Tight Bounds and Phase Transitions for Incremental and Dynamic Retrieval

October 13, 2024

83% Match
William Kuszmaul, Aaron Putterman, Tingqiang Xu, ... , Zhou Renfei
Data Structures and Algorith...

Retrieval data structures are data structures that answer key-value queries without paying the space overhead of explicitly storing keys. The problem can be formulated in four settings (static, value-dynamic, incremental, or dynamic), each of which offers different levels of dynamism to the user. In this paper, we establish optimal bounds for the final two settings (incremental and dynamic) in the case of a polynomial universe. Our results complete a line of work that has spa...

Find SimilarView on arXiv