TY - GEN
T1 - Range medians
AU - Har-Peled, Sariel
AU - Muthukrishnan, S.
PY - 2008
Y1 - 2008
N2 - We study a generalization of the classical median finding problem to batched query case: given an array of unsorted n items and k (not necessarily disjoint) intervals in the array, the goal is to determine the median in each of the intervals in the array. We give an algorithm that uses O(nlogk + klogk logn) comparisons and show a lower bound of Ω(nlogk) comparisons for this problem. This is optimal for k = O(n/logn).
AB - We study a generalization of the classical median finding problem to batched query case: given an array of unsorted n items and k (not necessarily disjoint) intervals in the array, the goal is to determine the median in each of the intervals in the array. We give an algorithm that uses O(nlogk + klogk logn) comparisons and show a lower bound of Ω(nlogk) comparisons for this problem. This is optimal for k = O(n/logn).
UR - http://www.scopus.com/inward/record.url?scp=57749083049&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=57749083049&partnerID=8YFLogxK
U2 - 10.1007/978-3-540-87744-8_42
DO - 10.1007/978-3-540-87744-8_42
M3 - Conference contribution
AN - SCOPUS:57749083049
SN - 3540877436
SN - 9783540877431
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 503
EP - 514
BT - Algorithms - ESA 2008 - 16th Annual European Symposium, Proceedings
PB - Springer
T2 - 16th Annual European Symposium on Algorithms, ESA 2008
Y2 - 15 September 2008 through 17 September 2008
ER -