paper

On the Complexity of Approximate Sum of Sorted List

arXiv:1112.0520

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.