**Reference**:- Erik D. Demaine, Friedhelm Meyer auf der Heide, Rasmus Pagh, and Mihai Pǎtraşcu, “De Dictionariis Dynamicis Pauco Spatio Utentibus (
*lat.*On Dynamic Dictionaries Using Little Space)”, Manuscript, December 2005. **Abstract**:-
We develop dynamic dictionaries on the word RAM that use asymptotically
optimal space, up to constant factors, subject to insertions and deletions,
and subject to supporting perfect-hashing queries and/or membership queries,
each operation in constant time with high probability. When supporting only
membership queries, we attain the optimal space bound of
Θ(
*n*lg (*u*/*n*)) bits, where*n*and*u*are the sizes of the dictionary and the universe, respectively. Previous dictionaries either did not achieve this space bound or had time bounds that were only expected and amortized. When supporting perfect-hashing queries, the optimal space bound depends on the range {1, 2, …,*n*+*t*} of hashcodes allowed as output. We prove that the optimal space bound is Θ(*n*lg lg (*u*/*n*) + n lg (*n*/(*t*+1))) bits when supporting only perfect-hashing queries, and it is Θ(*n*lg (*u*/*n*) +*n*lg (*n*/(*t*+1))) bits when also supporting membership queries. All upper bounds are new, as is the Ω(*n*lg (*n*/(*t*+1))) lower bound. **Comments**:- This paper is also available as arXiv:cs.DS/0512081 of the Computing Research Repository (CoRR).
**Length**:- The paper is 14 pages.
**Availability**:- The paper is available in PostScript (380k), gzipped PostScript (164k), and PDF (224k).
- See information on file formats.
- [Google Scholar search]
**Related papers**:- PerfectHashing_LATIN2006 (De Dictionariis Dynamicis Pauco Spatio Utentibus (
*lat.*On Dynamic Dictionaries Using Little Space))

See also other papers by Erik Demaine.

Last updated May 17, 2017 by Erik Demaine.