Cut a Numeric String into Required Pieces
arXiv:2309.16212
Abstract
We study the problem of cutting a length- string of positive real numbers into pieces so that every piece has sum at least . The problem can also be phrased as transforming such a string into a new one by merging adjacent numbers. We discuss connections with other problems and present several algorithms in connection with the problem: an -time greedy algorithm, an -time dynamic programming algorithm, and an -time FPT algorithm for pieces.