Insertion and Sorting in a Sequence of Numbers Minimizing the Maximum Sum of a Contiguous Subsequence
Ricardo C. Corr\^ea, Pablo M. S. Farias, and Cr\'iston P. de Souza

TL;DR
This paper introduces efficient algorithms for inserting a number into a sequence to minimize the maximum scoring subsequence sum and proves that sorting a sequence to achieve a similar goal is strongly NP-hard, providing a 2-approximation.
Contribution
It presents a linear-time algorithm for the insertion problem and establishes NP-hardness for the sorting problem, along with a 2-approximation solution.
Findings
Insertion problem solvable in linear time and space.
Sorting by scores is strongly NP-hard.
A 2-approximation algorithm for the sorting problem.
Abstract
Let be a sequence of real numbers. A subsequence of is a sequence of contiguous elements of . A \emph{maximum scoring subsequence} of is a subsequence with largest sum of its elements, which can be found in O(n) time by Kadane's dynamic programming algorithm. We consider in this paper two problems involving maximal scoring subsequences of a sequence. Both of these problems arise in the context of buffer memory minimization in computer networks. The first one, which is called {\sc Insertion in a Sequence with Scores (ISS)}, consists in inserting a given real number in in such a way to minimize the sum of a maximum scoring subsequence of the resulting sequence, which can be easily done in time by successively applying Kadane's algorithm to compute the maximum scoring subsequence of the resulting sequence corresponding to each possible insertion…
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.
