Given the set of integers S:
How can one divide a set into k parts so that the sum of each part is minimal? Please also give an implementation of C
Example:
S = {1, 2, 3, 4, 5, 6} and k = 3
Section
S1 = {1, 6} S2 = {2, 5} S3 = {3, 4}
possesses the property that the sum of each partition is minimal.
source share