An Optimal Choice Dictionary

11/02/2017
by   Torben Hagerup, et al.
0

A choice dictionary is a data structure that can be initialized with a parameter n∈{1,2,...} and subsequently maintains an initially empty subset S of {1,...,n} under insertion, deletion, membership queries and an operation 'choice' that returns an arbitrary element of S. The choice dictionary is fundamental in space-efficient computing and has numerous applications. The best previous choice dictionary can be initialized with n and a second parameter t∈{1,2,...} in constant time and subsequently executes all operations in O(t) time and occupies n+O(n(t/w)^t+ n) bits on a word RAM with a word length of w=Ω( n) bits. We describe a new choice dictionary that, following a constant-time initialization, executes all operations in constant time and, in addition to the space needed to store n, occupies only n+1 bits, which is shown to be optimal if w=o(n). Allowed _2(n+1) bits of additional space, the new data structure also supports iteration over the set S in constant time per element.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/20/2018

Small Uncolored and Colored Choice Dictionaries

A choice dictionary can be initialized with a parameter n∈N and subseque...
research
03/22/2015

Construction of FuzzyFind Dictionary using Golay Coding Transformation for Searching Applications

Searching through a large volume of data is very critical for companies,...
research
01/27/2022

Predecessor on the Ultra-Wide Word RAM

We consider the predecessor problem on the ultra-wide word RAM model of ...
research
08/27/2019

Partial Sums on the Ultra-Wide Word RAM

We consider the classic partial sums problem on the ultra-wide word RAM ...
research
07/25/2019

How to Store a Random Walk

Motivated by storage applications, we study the following data structure...
research
05/03/2020

A Dynamic Space-Efficient Filter with Constant Time Operations

A dynamic dictionary is a data structure that maintains sets of cardinal...
research
04/16/2019

Dynamic Packed Compact Tries Revisited

Given a dynamic set K of k strings of total length n whose characters ar...

Please sign up or login with your details

Forgot password? Click here to reset