In memory-constrained algorithms, access to the input is restricted to be read-only, and the number of extra variables that the algorithm can use is bounded. In this paper we introduce the compressed stack technique, a method that allows to transform algorithms whose main memory consumption takes the form of a stack into memory-constrained algorithms. Given an algorithm $$\mathcal {A}$$A that runs in $$O(n)$$O(n) time using a stack of length Θ(n), we can modify it so that it runs in O(n2logn/2s) time using a workspace of $$O(s)$$O(s) variables (for any s∈o(logn)) or O(n1+1/logp) time using O(plogpn) 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 ...
A constant-work-space algorithm has read-only access to an input array and may use only O(1) additio...
金沢大学Constant-work-space algorithms model computation when space is at a premium: the input is given ...
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 we have read-only access to the input, and the number of additional...
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...
金沢大学Constant-work-space algorithms model computation when space is at a premium: the input is given ...
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 we have read-only access to the input, and the number of additional...
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...
金沢大学Constant-work-space algorithms model computation when space is at a premium: the input is given ...
Constant-work-space algorithms may use only constantly many cells of storage in addition to their in...