skip to main content
10.1145/380752.380842acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
Article

Optimal static range reporting in one dimension

Published:06 July 2001Publication History

ABSTRACT

We consider static one dimensional range searching problems. These problems are to build static data structures for an integer set S \subseteq U, where U = \{0,1,\dots,2^w-1\}, which support various queries for integer intervals of U. For the query of reporting all integers in S contained within a query interval, we present an optimal data structure with linear space cost and with query time linear in the number of integers reported. This result holds in the unit cost RAM model with word size w and a standard instruction set. We also present a linear space data structure for approximate range counting. A range counting query for an interval returns the number of integers in S contained within the interval. For any constant ε>0, our range counting data structure returns in constant time an approximate answer which is within a factor of at most 1+ε of the correct answer.

References

  1. 1.P.K.Agarwal Range searching.In Handbook of Discrete and Computational Geometry, CRC Press 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.A.Agarwal and J.S.Vitter.The input/output complexityof sorting and related prob ems. Communications of the ACM 31(9):1116 -1127,1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.M.Ajtai.A ower bound for .nding predecessors in Yao's cell probe model.Combinatorica (8):235 -247, 1988.Google ScholarGoogle Scholar
  4. 4.A.Amir,A.Efrat,P.Indyk,and H.Samet.E .cient regular data structures and algorithms for location and proximityproblems.In Proc. 40th IEEE Symposium on Foundations of Computer Science (FOCS),pages 160 -170,1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.A.Andersson,T.Hagerup,S.Ni sson,and R.Raman. Sorting in linear time?Journal of Computer and System Sciences 57(1):74 -93,1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.A.Andersson and O.Petersson.Approximate indexed lists.Journal of Algorithms 29(2):256 -276,1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.A.Andersson and M.Thorup.Tight(er)worst-case bounds on dynamic searching and priority queues.In Proc. 32nd ACM Symposium on Theory of Computing (STOC),pages 335 -342,2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.P.Beame and F.Fich.Optima bounds for the predecessor prob em.In Proc. 31st ACM Symposium on Theory of Computing (STOC),pages 295 --304, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.K.L.Clarkson.An algorithm for approximate closest-point queries.In Proc. 10th Annual Symposium on Computational Geometry pages 160 -164,Stony Brook,NY,USA,1994.ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.M.Dietzfe binger.Universa hashing and k-wise independent random variables via integer arithmetic without primes.In 13th Annual Symposium on Theoretical Aspects of Computer Science volume 1046 of Lecture Notes in Computer Science pages 569 -580. Springer Verlag,Berlin,1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11.R.W.Floyd.A gorithm 245:Treesort3. Communications of the ACM 7(12):701,1964. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.M.L.Fredman,J.Komlos,and E.Szemeredi.Storing a sparse table with O(1)worst case access time. Journal of the ACM 31(3):538 -544,1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13.M.L.Fredman and D.E.Willard.Surpassing the information theoretic bound with fusion trees.Journal of Computer and System Sciences 47:424 -436,1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.M.L.Fredman and D.E.Willard.Trans-dichotomous a gorithms for minimum spanning trees and shortest paths.Journal of Computer and System Sciences 48:533 -551,1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15.D.Hare and R.Tarjan.Fast a gorithms for .nding nearest common ancestors.SIAM Journal of Computing 13(2):338 -355,1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. 16.C.T.M.Jacobs and P.van Emde Boas.Two results on tab es.Information Processing Letters 22(1):43 -48, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. 17.Y.Matias,J.S.Vitter,and N.E.Young. Approximate data structures with applications.In Proc. 5th ACM-SIAM Symp. Discrete Algorithms (SODA),pages 187 -194,1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. 18.K.Mehlhorn.Data Structures and Algorithms: 3. Multidimensional Searching and Computational Geometry Springer,1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. 19.P.B.Mi tersen,N.Nisan,S.Safra,and A.Wigderson. On data structures and asymmetric communication complexity.Journal of Computer and System Sciences 57(1):37 -49,1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. 20.F.P.Preparata and M.Shamos.Computational Geometry Springer-Verlag,New York,1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. 21.J.P.Schmidt and A.Siege .The spatia complexityof oblivious k -probe hash functions.SIAM Journal of Computing 19(5):775 -786,1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. 22.R.Seidel and C.R.Aragon.Randomized search trees. Algorithmica 16(4/5):464 -497,1996.Google ScholarGoogle Scholar
  23. 23.M.Thorup.Faster deterministic sorting and priority queues in linear space.In Proc. 9th ACM-SIAM Symposium on Discrete Algorithms (SODA),pages 550 -555,1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. 24.D.E.Willard.Log-logarithmic worst-case range queries are possible in space ~(N ).Information Processing Letters 17(2):81 -84,1983.Google ScholarGoogle ScholarCross RefCross Ref
  25. 25.J.W.J.Williams.Algorithm 232:Heapsort. Communications of the ACM 7(6):347 -348,1964.Google ScholarGoogle Scholar

Index Terms

  1. Optimal static range reporting in one dimension

                      Recommendations

                      Comments

                      Login options

                      Check if you have access through your login credentials or your institution to get full access on this article.

                      Sign in
                      • Published in

                        cover image ACM Conferences
                        STOC '01: Proceedings of the thirty-third annual ACM symposium on Theory of computing
                        July 2001
                        755 pages
                        ISBN:1581133499
                        DOI:10.1145/380752

                        Copyright © 2001 ACM

                        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                        Publisher

                        Association for Computing Machinery

                        New York, NY, United States

                        Publication History

                        • Published: 6 July 2001

                        Permissions

                        Request permissions about this article.

                        Request Permissions

                        Check for updates

                        Qualifiers

                        • Article

                        Acceptance Rates

                        STOC '01 Paper Acceptance Rate83of230submissions,36%Overall Acceptance Rate1,469of4,586submissions,32%

                        Upcoming Conference

                        STOC '24
                        56th Annual ACM Symposium on Theory of Computing (STOC 2024)
                        June 24 - 28, 2024
                        Vancouver , BC , Canada

                      PDF Format

                      View or Download as a PDF file.

                      PDF

                      eReader

                      View online with eReader.

                      eReader