Faster, space-efficient selection algorithms in read-only memory for integers

9Citations
Citations of this article
2Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Starting with Munro and Paterson (1980), the selection or median-finding problem has been extensively studied in the read-only memory model and in streaming models. Munro and Paterson's deterministic algorithm and its subsequent refinements require at least polylogarithmic or logarithmic space, whereas the algorithms by Munro and Raman (1996) and Raman and Ramnath (1999) can be made to use just O(1) storage cells but take O(n1 + ε) time for an arbitrarily small constant ε > 0. In this paper, we show that faster selection algorithms in read-only memory are possible if the input is a sequence of integers. For example, one algorithm uses O(1) storage cells and takes O(n lg U) time where U is the universe size. Another algorithm uses O(1) storage cells and takes O(n lg n lg lg U) time. We also describe an O(n)-time algorithm for finding an approximate median using O(lg ε U) storage cells. All our algorithms are simple and deterministic. Interestingly, one of our algorithms is inspired by 'centroids' of binary trees and finds an approximate median by repeatedly invoking a textbook algorithm for the 'majority' problem. This technique could be of independent interest. © 2013 Springer-Verlag.

Cite

CITATION STYLE

APA

Chan, T. M., Munro, J. I., & Raman, V. (2013). Faster, space-efficient selection algorithms in read-only memory for integers. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8283 LNCS, pp. 405–412). https://doi.org/10.1007/978-3-642-45030-3_38

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free