Dynamic Interpolation Search in o(log log n) Time

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 θ(log2n) to θ(log n) for searches and from θ(n) to θ(log n) for updates.

[1]  Kurt Mehlhorn,et al.  Dynamic Interpolation Search , 1985, ICALP.

[2]  Greg N. Frederickson,et al.  Implicit Data Structures for the Dictionary Problem , 1983, JACM.

[3]  Andrew Chi-Chih Yao,et al.  The complexity of searching an ordered random table , 1976, 17th Annual Symposium on Foundations of Computer Science (sfcs 1976).

[4]  Luc Devroye,et al.  Lecture Notes on Bucket Algorithms , 1986, Progress in Computer Science.

[5]  Alon Itai,et al.  A Sparse Table Implementation of Priority Queues , 1981, ICALP.

[6]  Yehoshua Perl,et al.  Understanding the Complexity of Interpolation Search , 1977, Inf. Process. Lett..

[7]  Mark H. Overmars,et al.  The Design of Dynamic Data Structures , 1987, Lecture Notes in Computer Science.

[8]  W. W. Peterson,et al.  Addressing for Random-Access Storage , 1957, IBM J. Res. Dev..

[9]  Dan E. Willard Searching Unindexed and Nonuniformly Generated Files in log log N Time , 1985, SIAM J. Comput..

[10]  Luc Devroye,et al.  The Expected Length of the Longest Probe Sequence for Bucket Searching when the Distribution is Not Uniform , 1985, J. Algorithms.