首页 | 本学科首页   官方微博 | 高级检索  
     


Range mode and range median queries in constant time and sub-quadratic space
Authors:Holger Petersen  Szymon Grabowski
Affiliation:a Universität Stuttgart, FMI, Universitätsstr. 38, D-70569 Stuttgart, Germany
b Technical University of ?ód?, Computer Engineering Department, Al. Politechniki 11, 90-924 ?ód?, Poland
Abstract:Given a list of n items and a function defined over sub-lists, we study the space required for computing the function for arbitrary sub-lists in constant time.For the function mode we improve the previously known space bound O(n2/logn) to O(n2loglogn/log2n) words.For median the space bound is improved to O(n2loglog2n/log2n) words from O(n2⋅log(k)n/logn), where k is an arbitrary constant and log(k) is the iterated logarithm.
Keywords:Computational complexity   Theory of computation   Algorithms
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号