In memory-constrained algorithms we have read-only access to the input, and the number of additional variables is limited. In this paper we introduce the compressed stack technique, a method that allows to transform algorithms whose space bottleneck is a stack into memoryconstrained algorithms. Given an algorithm A that runs in O(n) time using a stack of length ≤(n), we can modify it so that it runs in O(n2/2s) time using a workspace of O(s) variables (for any s 2 o(log n)) or O(n log n/ log p) time using O(p log n/ log p) variables (for any 2 ≤ p ≤ n). We also show how the technique can be applied to solve various geometric problems, namely computing the convex hull of a simple polygon, a triangulation of a monotone polygon, the shortest p...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
Given a read-only memory for input and a write-only stream for output, an s-workspace algorithm, for...
Constant-work-space algorithms may use only constantly many cells of storage in addition to their in...
In memory-constrained algorithms, access to the input is restricted to be read-only, and the number ...
In memory-constrained algorithms, access to the input is restricted to be read-only, and the number ...
In memory-constrained algorithms we have read-only access to the input, and the number of additional...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
Given a read-only memory for input and a write-only stream for output, an s-workspace algorithm, for...
Constant-work-space algorithms may use only constantly many cells of storage in addition to their in...
In memory-constrained algorithms, access to the input is restricted to be read-only, and the number ...
In memory-constrained algorithms, access to the input is restricted to be read-only, and the number ...
In memory-constrained algorithms we have read-only access to the input, and the number of additional...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
Given a read-only memory for input and a write-only stream for output, an s-workspace algorithm, for...
Constant-work-space algorithms may use only constantly many cells of storage in addition to their in...