Title of article
Tetris–Hashing or optimal table compression Original Research Article
Author/Authors
Nicola Galli، نويسنده , , Bernhard Seybold، نويسنده , , Klaus Simon، نويسنده ,
Issue Information
روزنامه با شماره پیاپی سال 2001
Pages
18
From page
41
To page
58
Abstract
In this paper, we present a new method for mapping a static set of n keys, each an integer between 0 and N−1, into a hash table of size n without any collision. Our data structure requires only an additional array of n integers, each less than n, and achieves a worst-case lookup time of O(1). This method is based on a randomized compression scheme, and it finds a minimal perfect hash function in average time O(n). Our concept can be easily adapted for dynamic key sets. Then, the hash table has no longer minimal size but the storage location remains very small. Because of its simplicity our approach is particularly interesting for practical purposes.
Journal title
Discrete Applied Mathematics
Serial Year
2001
Journal title
Discrete Applied Mathematics
Record number
885209
Link To Document