Finding the Minimum Number of Elements with Sum above a Threshold

Yan Jiang,Chaoyi Pang,Hao Lan Zhang,Junhu Wang,Tongliang Li,Qing Zhang,Jing He
DOI: https://doi.org/10.1016/j.ins.2013.02.035
IF: 8.1
2013-01-01
Information Sciences
Abstract:Motivated by the wavelet compression techniques and their applications, we consider the following problem: Given an unsorted array of numerical values and a threshold, what is the minimum number of elements chosen from the array, such that the sum of these elements is not less than the threshold value. In this article, we first provide two linear time algorithms for the problem. We then demonstrate the efficacy of these algorithms through experiments. Lastly, as an application of this research, we indicate that the construction of wavelet synopses on a prescribed error bound (in L"2 metric) can be solved in linear time.
What problem does this paper attempt to address?