Weizmann Logo
ECCC
Electronic Colloquium on Computational Complexity

Under the auspices of the Computational Complexity Foundation (CCF)

Login | Register | Classic Style



REPORTS > DETAIL:

Paper:

TR10-094 | 17th May 2010 15:18

Streaming algorithms for some problems in log-space.

RSS-Feed

Abstract:

In this paper, we give streaming algorithms for some problems which are known to be in deterministic log-space, when the number of passes made on the input is unbounded. If the input data is massive,
the conventional deterministic log-space algorithms may not run efficiently. We study the complexity of the problems when the number of passes is bounded.

The first problem we consider is the membership testing problem for deterministic linear languages, DLIN. Extending the recent work of Magniez et al. (to appear in STOC 2010), we study the use of fingerprinting technique for this problem. We give the following streaming algorithms for the membership testing of DLINs: a randomized one pass algorithm
that uses $O(\log n)$ space (one-sided error, inverse polynomial error probability), and also a $p$-pass
$O(n/p)$-space deterministic algorithm. We also prove that there exists a language in DLIN, for which any p-pass deterministic algorithm for membership testing, requires $\Omega(n/p)$ space. We also study the application of fingerprinting technique to visibly pushdown languages, VPLs.

The other problem we consider is, given a degree sequence and a graph, checking whether the graph has the given degree sequence, DEGSEQ. We prove that, any p-pass deterministic algorithm that takes as its
input a degree sequence, followed by an adjacency
list of a graph, requires $\Omega(n/p)$ space to decide DEGSEQ. However, using randomness, for a more general input format: degree sequence, followed by a list of edges in any arbitrary order, DEGSEQ can be decided in $O(\log n)$ space. We also give a $p$-pass, $O(n/p)$-space deterministic algorithm for DEGSEQ.



ISSN 1433-8092 | Imprint