Problem 1982 · Hard

Find Array Given Subset Sums

Recover an integer array from the multiset of sums of all its subsets. The visual peels subset sums off one value at a time and shows which sums are consumed.

Open the interactive visualisation