Skip to main content

Dynamic interpolation search in o(log log n) time

  • Conference paper
  • First Online:
Book cover Automata, Languages and Programming (ICALP 1993)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 700))

Included in the following conference series:

Abstract

A new efficient data structure, based on the augmentation technique used in the interpolation search tree by Mehlhorn and Tsakalidis, is presented. We achieve:

  • a trade-off between input distribution and search cost for dynamic interpolation search.

  • θ(log log n) expected time for search and update operations for a larger class of densities than Mehlhorn and Tsakalidis.

  • o(log log n) expected time for search and update operations for a large class of densities. As an example, we give an unbounded density for which we achieve θ(log*n) expected time. We also show θ(1) expected time for all bounded densities, in particular, the uniform distribution.

  • improved worst-case cost from θ(log2 n) to θ(log n) for searches and from θ(n) to θ(log n) for updates.

We also include a discussion of terminology: which methods should be termed “interpolation search”?

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. L. Devroye. Lecture Notes on Bucket Algorithms. Birkhäuser, 1985. ISBN 0-8176-3328-6.

    Google Scholar 

  2. G. Frederickson. Implicit Data Structures for the Dictionary Problem. Journal of the ACM, 30(1):80–94, 1983.

    Google Scholar 

  3. G. H. Gonnet. Interpolation and Interplation Hash Searching. PhD thesis, University of Waterloo, February 1977.

    Google Scholar 

  4. A. Itai, A.G. Konheim, and M. Rodeh. A sparse table implementation of priority queues. In Proc. 8th ICALP, pages 417–431, 1981.

    Google Scholar 

  5. K. Mehlhorn and A. Tsakalidis. Dynamic interpolation search. In Proc. 12th ICALP, 1985.

    Google Scholar 

  6. K. Mehlhorn and A. Tsakalidis. Dynamic interpolation search. To appear in Journal of the ACM, 1993.

    Google Scholar 

  7. M. H. Overmars. The Design of Dynamic Data Structures, volume 156 of Lecture Notes in Computer Science. Springer Verlag, 1983. ISBN 3-540-12330-X.

    Google Scholar 

  8. M. H. Overmars and C. Levcopoulos. A balanced search tree with O(1) worst-case update time. Acta Informatica, 26:269–277, 1988.

    Google Scholar 

  9. Y. Perl and E. M. Reingold. Understanding the Complexity of Interpolation Search. Information Processing Letters, 6(6):219–222, December 1977.

    Google Scholar 

  10. W. W. Peterson. Addressing for Random-Access Storage. IBM J. Res. Development, 1 (4):130–146, April 1957.

    Google Scholar 

  11. D. E. Willard. Searching Unindexed and Nonuniformly Generated Files in log log N Time. SIAM Journal on Computing, 14(4), 1985.

    Google Scholar 

  12. A. C. Yao and F. F. Yao. The Complexity of Searching an Ordered Random Table. In Proceeding Seventeenth Annual Symposium on Foundations of Computer Science, pages 173–177, HOUSTON TX, October 1976. IEEE.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Andrzej Lingas Rolf Karlsson Svante Carlsson

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Andersson, A., Mattsson, C. (1993). Dynamic interpolation search in o(log log n) time. In: Lingas, A., Karlsson, R., Carlsson, S. (eds) Automata, Languages and Programming. ICALP 1993. Lecture Notes in Computer Science, vol 700. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-56939-1_58

Download citation

  • DOI: https://doi.org/10.1007/3-540-56939-1_58

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-56939-8

  • Online ISBN: 978-3-540-47826-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics