On the Complexity of Approximate Sum of Sorted List
Data Structures and Algorithms
2012-01-24 v4 Computational Complexity
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.
Keywords
Cite
@article{arxiv.1112.0520,
title = {On the Complexity of Approximate Sum of Sorted List},
author = {Bin Fu},
journal= {arXiv preprint arXiv:1112.0520},
year = {2012}
}