Skip to main content
Log in

Minimean optimal key arrangements in hash tables

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

For an open-addressing hash functionh and a setA ofn keys, letCh(A) be the expected retrieval cost when the keys are arranged to minimize the expected retrieval cost in a full table. It is shown that, asymptotically for largen, whenh satisfies a certain doubly dispersive property, as is the case for double hashing,C h (A)=0(1) with probability 1 − 0(1) for a randomA.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. R. P. Brent, Reducing the retrieval time of scatter storage techniques,Comm. ACM,16, 1973, 105–109.

    Google Scholar 

  2. G. H. Gonnet, Average lower bounds for open-addressing hash coding,Proceedings of the Conference on Theoretical Computer Science, University of Waterloo, Waterloo, Ontario, August 1977, pp. 159–162.

    Google Scholar 

  3. G. H. Gonnet and J. I. Munro, Efficient ordering of hash tables,SIAM J. Comput.,8, 1979, 463–478.

    Google Scholar 

  4. L. J. Guibas and E. Szemerédi, The analysis of double hashing,J. Comput. and System Sei.,16, 1978, 226–274.

    Google Scholar 

  5. P. Hall, On representations of subsets,J. London Math. Soc,10, 1935, 26–30.

    Google Scholar 

  6. R. M. Karp, A patching algorithm for the nonsymmetric traveling-salesman problem,SI AM J. Comput.,8, 1979, 561–573.

    Google Scholar 

  7. R. M. Karp, An upper bound on the expected cost of an optimal assignment, inDiscrete Algorithms and Complexity, edited by D. S. Johnson, T. Nishizeki, A. Nozaki, and H. S. Wilf, Academic Press, New York, 1987, pp. 1–4.

    Google Scholar 

  8. D. E. Knuth,The Art of Computer Programming, Vol. 3, Addison-Wesley, Reading, MA, 1973.

    Google Scholar 

  9. A. Lazarus, The Assignment Problem with Uniform (0,1) Cost Matrix, B.A. Thesis, Department of Mathematics, Princeton University, 1979.

  10. R. L. Rivest, Optimal arrangement of keys in a hash table,J. Assoc. Comput. Mach.,25, 1978, 200–209.

    Google Scholar 

  11. D. W. Walkup, On the expected value of a random assignment problem,SIAM J. Comput.,8, 1979, 440–442.

    Google Scholar 

  12. A. C. Yao, On optimal arrangements of keys with double hashing,J. Algorithms,6, 1985, 253–264.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by C. K. Wong.

This research was supported in part by the National Science Foundation under Grant DCR-8308109.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Yao, A.C.C. Minimean optimal key arrangements in hash tables. Algorithmica 14, 409–428 (1995). https://doi.org/10.1007/BF01192048

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01192048

Key words

Navigation