We develop a number of space-efficient tools including an approach to simulate divide-and-conquer space-efficiently, stably selecting and unselecting a subset from a sorted set, and computing the kth smallest element in one dimension from a multi-dimensional set that is sorted in another dimension. We then apply these tools to solve several geometric problems that have solutions using some form of divide-and-conquer. Specifically, we present a deterministic algorithm running in O(nlogn) time using O(1) extra memory given inputs of size n for the closest pair problem and a randomized solution running in O(nlogn) expected time and using O(1) extra space for the bichromatic closest pair problem. For the orthogonal line segment intersection problem, we solve the problem in O(nlogn+k) time using O(1) extra space where n is the number of horizontal and vertical line segments and k is the number of intersections.

Additional Metadata
Keywords In situ algorithms, In-place algorithms, Space-efficient algorithms
Persistent URL dx.doi.org/10.1016/j.comgeo.2006.03.006
Journal Computational Geometry
Bose, P, Maheshwari, A, Morin, P, Morrison, J. (Jason), Smid, M, & Vahrenhold, J. (Jan). (2007). Space-efficient geometric divide-and-conquer algorithms. In Computational Geometry (Vol. 37, pp. 209–227). doi:10.1016/j.comgeo.2006.03.006