Unidirectional input/output streaming complexity of reversal and sorting
From MaRDI portal
Publication:2969653
DOI10.4230/LIPICS.APPROX-RANDOM.2014.654zbMATH Open1359.68129arXiv1309.0647OpenAlexW2963277905MaRDI QIDQ2969653FDOQ2969653
Authors: Nathanaël François, Rahul Jain, Frédéric Magniez
Publication date: 22 March 2017
Abstract: We consider unidirectional data streams with restricted access, such as read-only and write-only streams. For read-write streams, we also introduce a new complexity measure called expansion, the ratio between the space used on the stream and the input size. We give tight bounds for the complexity of reversing a stream of length in several of the possible models. In the read-only and write-only model, we show that -pass algorithms need memory space . But if either the output stream or the input stream is read-write, then the complexity falls to . It becomes if and both streams are read-write. We also study the complexity of sorting a stream and give two algorithms with small expansion. Our main sorting algorithm is randomized and has expansion, passes and memory.
Full work available at URL: https://arxiv.org/abs/1309.0647
Recommendations
Online algorithms; streaming algorithms (68W27) Analysis of algorithms and problem complexity (68Q25) Searching and sorting (68P10)
Cited In (1)
This page was built for publication: Unidirectional input/output streaming complexity of reversal and sorting
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2969653)