Sublinear Time Approximate Sum via Uniform Random Sampling
Data Structures and Algorithms
2012-03-01 v1
Abstract
We investigate the approximation for computing the sum with an input of a list of nonnegative elements . If all elements are in the range , there is a randomized algorithm that can compute an -approximation for the sum problem in time , where is a constant in . Our randomized algorithm is based on the uniform random sampling, which selects one element with equal probability from the input list each time. We also prove a lower bound , which almost matches the upper bound, for this problem.
Cite
@article{arxiv.1202.6598,
title = {Sublinear Time Approximate Sum via Uniform Random Sampling},
author = {Bin Fu and Wenfeng Li and Zhiyong Peng},
journal= {arXiv preprint arXiv:1202.6598},
year = {2012}
}