On the Complexity of Approximate Sum of Sorted List
Bin Fu

TL;DR
This paper presents an efficient algorithm for approximating the sum of sorted nonnegative numbers with a tight lower bound, and shows the difficulty of approximation when negative numbers are involved.
Contribution
It introduces a near-optimal algorithm for approximate sum of sorted nonnegative lists and establishes fundamental lower bounds, highlighting the complexity differences with negative elements.
Findings
Algorithm computes (1+ε)-approximation in near-linear time.
Lower bound matches the upper bound, proving optimality.
No sublinear algorithm exists for lists with negative numbers.
Abstract
We consider the complexity for computing the approximate sum of a sorted list of numbers . We show an algorithm that computes an -approximation for the sum of a sorted list of nonnegative numbers in an time, where and are the largest and the least positive elements of the input list, respectively. We prove a lower bound time for every O(1)-approximation algorithm for the sum of a sorted list of nonnegative elements. We also show that there is no sublinear time approximation algorithm for the sum of a sorted list that contains at least one negative number.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Machine Learning and Algorithms · Error Correcting Code Techniques
