Let S be a set of n positive integers, where n is even. Give an efficient
algorithm to partition S into two subsets S1 and S2 of n/2 elements each
with the property that the difference between the sum of the elements
in S1 and the sum of the elements in S2 is maximum. What is the time
complexity of your algorithm?