Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.Rich Cook

Given a set of integers, is there a non-empty subset whose sum is zero? For example, given the set {?7, ?3, ?2, 5, 8}, the answer is yes because the subset {?3, ?2, 5} sums to zero

Size of input set: 4 Target value: 4 Input Dynamic Table ---------------------- 0 0 1 1 2 2 3 2 4 3 Solution Input solution ---------------------- 3 3 1 1

## Comments

Please login to add comments.