Sublinear time approximate sum via uniform random sampling

From MaRDI portal




Abstract: We investigate the approximation for computing the sum a1+...+an with an input of a list of nonnegative elements a1,...,an. If all elements are in the range [0,1], there is a randomized algorithm that can compute an (1+epsilon)-approximation for the sum problem in time O(n(loglogn)oversumi=1nai), where epsilon is a constant in (0,1). 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 Omega(noversumi=1nai), which almost matches the upper bound, for this problem.











This page was built for publication: Sublinear time approximate sum via uniform random sampling

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4925287)