Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
153 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Sublinear Time Approximate Sum via Uniform Random Sampling (1202.6598v1)

Published 29 Feb 2012 in cs.DS

Abstract: We investigate the approximation for computing the sum $a_1+...+a_n$ with an input of a list of nonnegative elements $a_1,..., a_n$. 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(\log\log n)\over\sum_{i=1}n a_i})}$, 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({n\over \sum_{i=1}n a_i})$, which almost matches the upper bound, for this problem.

Summary

We haven't generated a summary for this paper yet.