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.
Similar content being viewed by others
Explore related subjects
Discover the latest articles and news from researchers in related subjects, suggested using machine learning.References
B. Chazelle. Lower bounds on the complexity of polytope range searching.J. Amer. Math. Soc., 2:637–666, 1989.
B. Chazelle, L. J. Guibas, and D. T. Lee. The power of geometric duality.BIT, 25:76–90, 1985.
M. L. Fredman. A lower bound on the complexity of orthogonal range queries.J. Assoc. Comput. Mach., 28:696–705, 1981.
M. L. Fredman. The complexity of maintaining an array and its partial sums.J. Assoc. Comput. Mach, 29:250–260, 1982.
K. Mehlhorn.Data Structures and Algorithms, Vol. III. Springer-Verlag, Berlin, 1984.
J. von Neumann. Zur Theorie der Gesellschaftspiele.Math. Ann., 100:295–320, 1928.
P. Raghavan. Lecture Notes in Randomized Algorithms. Technical Report RC 15340, IBM, December 1989.
J. Spencer.Ten Lectures on the Probabilistic Method. Society for Industrial and Applied Mathematics, Philadelphia, PA, 1987.
A. C. Yao. Probabilistic computations: towards a unified measure of complexity.Proc. 18th IEEE FOCS, pp. 222–227, 1977.
A. C. Yao. On the complexity of maintaining partial sums.SIAM J. Comput., 14:277–288, 1985.
D. Yellin. Data structures for set equality-testing.Proc. 3rd Annual ACM-SIAM SODA, pp. 386–392, 1992.
Author information
Authors and Affiliations
Additional information
Communicated by B. Chazelle.
Rights 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
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01293666