Slowing down sorting networks to obtain faster sorting algorithms
Journal of the ACM (JACM)
Applications of a strategy for designing divide-and-conquer algorithms
Science of Computer Programming
An optimal-time algorithm for slope selection
SIAM Journal on Computing
Algorithms for the maximum subarray problem based on matrix multiplication
Proceedings of the ninth annual ACM-SIAM symposium on Discrete algorithms
Applying Parallel Computation Algorithms in the Design of Serial Algorithms
Journal of the ACM (JACM)
Programming pearls: algorithm design techniques
Communications of the ACM
Randomized algorithm for the sum selection problem
ISAAC'05 Proceedings of the 16th international conference on Algorithms and Computation
Improved algorithms for the k maximum-sums problems
ISAAC'05 Proceedings of the 16th international conference on Algorithms and Computation
Efficient algorithms for k maximum sums
ISAAC'04 Proceedings of the 15th international conference on Algorithms and Computation
Optimal algorithms for the average-constrained maximum-sum segment problem
Information Processing Letters
Hi-index | 0.00 |
Given a sequence of n real numbers A = a1, a2,..., an and a positive integer k, the Sum Selection Problem is to find the segment A(i,j) = ai , ai+1,..., aj such that the rank of the sum s(i, j) = ∑t=ijat is k over all $\frac{n(n-1)}{2}$ segments. We present a deterministic algorithm for this problem that runs in O(n logn) time. The previously best known randomized algorithm for this problem runs in expected O(n logn) time. Applying this algorithm we can obtain a deterministic algorithm for the k Maximum Sums Problem, i.e., the problem of enumerating the k largest sum segments, that runs in O(n logn + k) time. The previously best known randomized and deterministic algorithms for the k Maximum Sums Problem run respectively in expected O(n logn + k) and O(n log2n + k) time in the worst case.