Finding the Median (Obliviously) with Bounded Space
Computational Complexity
2015-05-04 v1
Abstract
We prove that any oblivious algorithm using space to find the median of a list of integers from requires time . This bound also applies to the problem of determining whether the median is odd or even. It is nearly optimal since Chan, following Munro and Raman, has shown that there is a (randomized) selection algorithm using only registers, each of which can store an input value or -bit counter, that makes only passes over the input. The bound also implies a size lower bound for read-once branching programs computing the low order bit of the median and implies the analog of for length oblivious branching programs.
Cite
@article{arxiv.1505.00090,
title = {Finding the Median (Obliviously) with Bounded Space},
author = {Paul Beame and Vincent Liew and Mihai Pǎtraşcu},
journal= {arXiv preprint arXiv:1505.00090},
year = {2015}
}