Skip to main content
Log in

Lower bounds for set intersection queries

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

We consider the followingset intersection reporting problem. We have a collection of initially empty sets and would like to process an intermixed sequence ofn updates (insertions into and deletions from individual sets) andq queries (reporting the intersection of two sets). We cast this problem in thearithmetic model of computation of Fredman [F1] and Yao [Ya2] and show that any algorithm that fits in this model must take time Ω(q+n√q) to process a sequence ofn updates andq queries, ignoring factors that are polynomial in logn. We also show that this bound is tight in this model of computation, again to within a polynomial in logn factor, improving upon a result of Yellin [Ye]. Furthermore, we consider the caseq=O(n) with an additional space restriction. We only allow the use ofm memory locations, wherem ≤n3/2. We show a tight bound of Θ(n2/m1/3) for a sequence ofn operations, again ignoring the polynomial in logn factors.

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. B. Chazelle. Lower bounds on the complexity of polytope range searching.J. Amer. Math. Soc., 2:637–666, 1989.

    Google Scholar 

  2. B. Chazelle, L. J. Guibas, and D. T. Lee. The power of geometric duality.BIT, 25:76–90, 1985.

    Google Scholar 

  3. M. L. Fredman. A lower bound on the complexity of orthogonal range queries.J. Assoc. Comput. Mach., 28:696–705, 1981.

    Google Scholar 

  4. M. L. Fredman. The complexity of maintaining an array and its partial sums.J. Assoc. Comput. Mach, 29:250–260, 1982.

    Google Scholar 

  5. K. Mehlhorn.Data Structures and Algorithms, Vol. III. Springer-Verlag, Berlin, 1984.

    Google Scholar 

  6. J. von Neumann. Zur Theorie der Gesellschaftspiele.Math. Ann., 100:295–320, 1928.

    Google Scholar 

  7. P. Raghavan. Lecture Notes in Randomized Algorithms. Technical Report RC 15340, IBM, December 1989.

  8. J. Spencer.Ten Lectures on the Probabilistic Method. Society for Industrial and Applied Mathematics, Philadelphia, PA, 1987.

    Google Scholar 

  9. A. C. Yao. Probabilistic computations: towards a unified measure of complexity.Proc. 18th IEEE FOCS, pp. 222–227, 1977.

  10. A. C. Yao. On the complexity of maintaining partial sums.SIAM J. Comput., 14:277–288, 1985.

    Google Scholar 

  11. D. Yellin. Data structures for set equality-testing.Proc. 3rd Annual ACM-SIAM SODA, pp. 386–392, 1992.

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by B. Chazelle.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Dietz, P., Mehlhorn, K., Raman, R. et al. Lower bounds for set intersection queries. Algorithmica 14, 154–168 (1995). https://doi.org/10.1007/BF01293666

Download citation

  • Received:

  • Revised:

  • Issue Date:

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

Key words

Navigation