Dynamic Dictionaries in Constant Worst-Case Time
نویسنده
چکیده
We introduce a technique to maintain a set of n elements from a universe of size u with membership and indel operations, so that elements are associated r-bit satellite data. We achieve constant worst-case time for all the operations, at the price of spending u + o(u) + O(nr + n log log log u) bits of space. Only the variant where the space is of the form O(nr + n log u) was exhaustively explored before, yet in that case existing lower bounds prevent achieving constant worst-case times. As a byproduct, we improve a folklore data structure for initializing an array of n elements in constant time, by reducing its space requirement from 2n log n to n+o(n) bits.
منابع مشابه
Adjacency queries in dynamic sparse graphs
We deal with the problem of maintaining a dynamic graph so that queries of the form “is there an edge between u and v?” are processed fast. We consider graphs of bounded arboricity, i.e., graphs with no dense subgraphs, like for example planar graphs. Brodal and Fagerberg [WADS’99] described a very simple linear-size data structure which processes queries in constant worst-case time and perform...
متن کاملLow Redundancy in Dictionaries with O(1) Worst Case Lookup Time
A static dictionary is a data structure for storing subsets of a finite universe U , so that membership queries can be answered efficiently. We study this problem in a unit cost RAM model with word size Ω(log |U |), and show that for n-element subsets, constant worst case query time can be obtained using B +O(log log |U |) + o(n) bits of storage, where B = dlog2 (|U | n ) e is the minimum numbe...
متن کاملA Trade-Off for Worst-Case Efficient Dictionaries
We consider dynamic dictionaries over the universe U = f0; 1g on a unit-cost RAM with word size w and a standard instruction set, and present a linear space deterministic dictionary accommodating membership queries in time (log logn) and updates in time (logn), where n is the size of the set stored. Previous solutions either had query time (logn) (1) or update time 2 p log n) in the worst case....
متن کاملSuccinct Dynamic Dictionaries and Trees
We consider space-efficient solutions to two dynamic data structuring problems. We first give a representation of a set S ⊆ U = {0, . . . ,m− 1}, |S| = n that supports membership queries in O(1) worst case time and insertions into/deletions from S in O(1) expected amortised time. The representation uses B+ o(B) bits, where B = ⌈ lg ( m
متن کاملWorst Case Efficient Data Structures
We study the design of efficient data structures. In particular we focus on the design of data structures where each operation has a worst case efficient implementations. The concrete problems we consider are partial persistence, implementation of priority queues, and implementation of dictionaries. The first problem we consider is how to make bounded in-degree and out-degree data structures pa...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008