Re:Five-line solution to the Subset-sum problem (Python)
by adlpz on Monday February 25, 2013 @05:49AM
(#5278280)
Interesting to see actual use of sets on Python. For those like me not familiar with the syntax there, the OR-ing (|=) is just Union minus Intersection (because all elements of a Set are unique).
By the way, AND-ing would be a straight intersection
[ Parent
| on HN ]
There are no comments on this comment yet.