Skip to main navigation Skip to search Skip to main content

Linear time algorithm for finding minimal perfect hash functions

  • Zbigniew J. Czech
  • , Bohdan S. Majewski
  • Silesian University of Technology

Research output: Contribution to journalArticlepeer-review

7 Citations (Scopus)

Abstract

A new algorithm for finding minimal perfect hash functions (MPHF) is proposed. The algorithm given three pseudorandom functions h0, h1 and h2, searches for a function g such that F(w) = (h0(w) + g(h1(w)) + g(h2(w))) mod m is a MPHF, where m is a number of input words. The algorithm involves generation of random bipartite graphs and runs in linear time. The hash function generated is represented by using 2m + O(1) memory words of log m bits each. The empirical observations show that the algorithm runs very fast in practice.

Original languageEnglish
Pages (from-to)579-587
Number of pages9
JournalComputer Journal
Volume36
Issue number6
DOIs
Publication statusPublished - 1993

ASJC Scopus subject areas

  • General Computer Science

Fingerprint

Dive into the research topics of 'Linear time algorithm for finding minimal perfect hash functions'. Together they form a unique fingerprint.

Cite this