skip to main content
10.1145/800105.803400acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
Article
Free Access

Universal classes of hash functions (Extended Abstract)

Published:04 May 1977Publication History

ABSTRACT

This paper gives an input independent average linear time algorithm for storage and retrieval on keys. The algorithm makes a random choice of hash function from a suitable class of hash functions. Given any sequence of inputs the expected time (averaging over all functions in the class) to store and retrieve elements is linear in the length of the sequence. The number of references to the data base required by the algorithm for any input is extremely close to the theoretical minimum for any possible hash function with randomly distributed inputs. We present three suitable classes of hash functions which also may be evaluated rapidly. The ability to analyze the cost of storage and retrieval without worrying about the distribution of the input allows as corollaries improvements on the bounds of several algorithms.

References

  1. 1.Aho, A.V., Hopcroft, J.E., and Ullman, J.D., The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading, Mass. (1974). Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.Gill, J.T., III, Computational Complexity of Probabilistic Turing Machines, Proceedings of the Sixth ACM Symposium on the Theory of Computing, May, 1976, Seattle, Washington, p. 91-95. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.Goto, E., and Kanada, Y., Hashing Lemmas on Time Complexities with Applications to Formula Manipulation, Proceedings of the 1976 ACM Symposium on Symbolic and Algebraic Computation, August, 1976, Yorktown Heights, New York, p.149-153. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.Gustavson, F., and Yun, D.Y.Y., Arithmetic Complexity of Unordered or Sparse Polynomials Proceedings of the 1976 ACM Symposium on Symbolic and Algebraic Computation, August, 1976, Yorktown Heights, New York, p.154-159. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.Knuth, D.E., Sorting and Searching, Addison-Wesley, Reading, Mass. (1973).Google ScholarGoogle Scholar
  6. 6.Markowsky, G., private communication.Google ScholarGoogle Scholar
  7. 7.Rabin, M.O., Probabilistic algorithms, Proceedings of Symposium on New Directions and Recent Results in Algorithms and Complexity (1976-to appear).Google ScholarGoogle Scholar
  8. 8.Rosenbaum, W.S., and Hilliard, J.J., Multifont OCR postprocessing system. IBM Journal of Research and Development (July 1975).Google ScholarGoogle Scholar
  9. 9.Strassen, V., and Solovay, R., A fast Monte-Carlo test for primality, SIAM Journal on Computing (to appear).Google ScholarGoogle Scholar

Index Terms

  1. Universal classes of hash functions (Extended Abstract)

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          STOC '77: Proceedings of the ninth annual ACM symposium on Theory of computing
          May 1977
          318 pages
          ISBN:9781450374095
          DOI:10.1145/800105

          Copyright © 1977 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 4 May 1977

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          STOC '77 Paper Acceptance Rate31of87submissions,36%Overall Acceptance Rate1,469of4,586submissions,32%

          Upcoming Conference

          STOC '24
          56th Annual ACM Symposium on Theory of Computing (STOC 2024)
          June 24 - 28, 2024
          Vancouver , BC , Canada

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader