Y
Hacker News
new
|
ask
|
show
|
jobs
by
temugen
5726 days ago
Python powerset() with max(), list.remove(), and sum() builtins made the last problem's solution ~5 lines long :)
1 comments
brandon
5726 days ago
I don't know about powerset(), but challenge 3 was pretty trivial using Python's itertools module:
http://gist.github.com/617663
(warning: spoilers)
link