educative.io

Extra on Subset Sum

How do I get the actual items that makes up at least half of the partition. The boolean part is fairly straight forward. But I do not really see how to extract these items from the array