paper

An output-sensitive Algorithm to partition a Sequence of Integers into Subsets with equal Sums

arXiv:1811.04014 · doi:10.23638/DMTCS-20-2-18

Abstract

We present a polynomial time algorithm, which solves a nonstandard Variation of the well-known PARTITION-problem: Given positive integers and such that and , the algorithm partitions the elements of the set into mutually disjoint subsets such that and for each . The algorithm needs steps to insert the elements of into the sets .