Document Open Access Logo

Dynamic Orthogonal Range Searching on the RAM, Revisited

Authors Timothy M. Chan, Konstantinos Tsakalidis

Thumbnail PDF


  • Filesize: 486 kB
  • 13 pages

Document Identifiers

Author Details

Timothy M. Chan
Konstantinos Tsakalidis

Cite AsGet BibTex

Timothy M. Chan and Konstantinos Tsakalidis. Dynamic Orthogonal Range Searching on the RAM, Revisited. In 33rd International Symposium on Computational Geometry (SoCG 2017). Leibniz International Proceedings in Informatics (LIPIcs), Volume 77, pp. 28:1-28:13, Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2017)


We study a longstanding problem in computational geometry: 2-d dynamic orthogonal range reporting. We present a new data structure achieving O(log n / log log n + k) optimal query time and O(log^{2/3+o(1)}n) update time (amortized) in the word RAM model, where n is the number of data points and k is the output size. This is the first improvement in over 10 years of Mortensen's previous result [SIAM J. Comput., 2006], which has O(log^{7/8+epsilon}n) update time for an arbitrarily small constant epsilon. In the case of 3-sided queries, our update time reduces to O(log^{1/2+epsilon}n), improving Wilkinson's previous bound [ESA 2014] of O(log^{2/3+epsilon}n).
  • dynamic data structures
  • range searching
  • computational geometry


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. Stephen Alstrup, Gerth Stølting Brodal, and Theis Rauhe. New data structures for orthogonal range searching. In Proceedings of the 41st Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 198-207, 2000. URL:
  2. Stephen Alstrup, Thore Husfeldt, and Theis Rauhe. Marked ancestor problems. In Proceedings of the 39th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 534-543, Nov 1998. URL:
  3. Arne Andersson and Mikkel Thorup. Dynamic ordered sets with exponential search trees. Journal of the ACM, 54(3):13, 2007. URL:
  4. Lars Arge. The buffer tree: A technique for designing batched external data structures. Algorithmica, 37(1):1-24, 2003. URL:
  5. Lars Arge and Jeffrey Scott Vitter. Optimal external memory interval management. SIAM Journal on Computing, 32(6):1488-1508, 2003. URL:
  6. Jon Louis Bentley. Decomposable searching problems. Information Processing Letters, 8(5):244-251, 1979. URL:
  7. Gerth Stølting Brodal. External memory three-sided range reporting and top-k queries with sublogarithmic updates. In Proceedings of the 33rd Annual Symposium on Theoretical Aspects of Computer Science (STACS), pages 23:1-23:14, 2016. URL:
  8. Timothy M. Chan. Three problems about dynamic convex hulls. International Journal of Computational Geometry and Applications, 22(4):341-364, 2012. URL:
  9. Timothy M. Chan, Kasper Green Larsen, and Mihai Pătraşcu. Orthogonal range searching on the RAM, revisited. In Proceedings of the 27th Annual Symposium on Computational Geometry (SoCG), pages 1-10, 2011. URL:
  10. Timothy M. Chan and Mihai Pătraşcu. Counting inversions, offline orthogonal range counting, and related problems. In Proceedings of the 21st Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 161-173, 2010. URL:
  11. Bernard Chazelle. A functional approach to data structures and its use in multidimensional searching. SIAM Journal on Computing, 17(3):427-462, 1988. URL:
  12. Paul F. Dietz. Maintaining order in a linked list. In Proceedings of the 14th Annual ACM Symposium on Theory of Computing (STOC), pages 122-127, 1982. URL:
  13. Otfied Fries, Kurt Mehlhorn, Stefan Näher, and Athanasios K. Tsakalidis. A log log n data structure for three-sided range queries. Information Processing Letters, 25(4):269-273, 1987. URL:
  14. Vijay Kumar and Eric J. Schwabe. Improved algorithms and data structures for solving graph problems in external memory. In Proceedings of the 8th Annual IEEE Symposium on Parallel and Distributed Processing, pages 169-176, 1996. URL:
  15. George S. Lueker. A data structure for orthogonal range queries. In Proceedings of the 19th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 28-34, 1978. URL:
  16. Edward M. McCreight. Priority search trees. SIAM Journal on Computing, 14(2):257-276, 1985. URL:
  17. Kurt Mehlhorn and Stefan Näher. Dynamic fractional cascading. Algorithmica, 5(1):215-241, 1990. URL:
  18. Christian Worm Mortensen. Fully-dynamic two dimensional orthogonal range and line segment intersection reporting in logarithmic time. In Proceedings of the 14th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 618-627, 2003. URL:".
  19. Christian Worm Mortensen. Fully dynamic orthogonal range reporting on RAM. SIAM Journal on Computing, 35(6):1494-1525, 2006. URL:
  20. Yakov Nekrich. Space efficient dynamic orthogonal range reporting. Algorithmica, 49(2):94-108, 2007. URL:
  21. Yakov Nekrich. Orthogonal range searching in linear and almost-linear space. Computational Geometry, 42(4):342-351, 2009. URL:
  22. Mark H. Overmars. Efficient data structures for range searching on a grid. Journal of Algorithms, 9(2):254-275, 1988. URL:
  23. Peter van Emde Boas. Preserving order in a forest in less than logarithmic time and linear space. Information Processing Letters, 6(3):80-82, 1977. URL:
  24. Bryan T. Wilkinson. Amortized bounds for dynamic orthogonal range reporting. In Proceedings of the 22th Annual European Symposium on Algorithms (ESA), pages 842-856, 2014. URL:
  25. Dan E. Willard. New data structures for orthogonal range queries. SIAM Journal on Computing, 14(1):232-253, 1985. URL:
  26. Dan E. Willard. Examining computational geometry, Van Emde Boas trees, and hashing from the perspective of the fusion tree. SIAM Journal on Computing, 29(3):1030-1049, 2000. URL:
  27. Dan E. Willard and George S. Lueker. Adding range restriction capability to dynamic data structures. Journal of the ACM, 32(3):597-617, 1985. URL:
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail