Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
temugen
· 16y ago · 0 comments
Python powerset() with max(), list.remove(), and sum() builtins made the last problem's solution ~5 lines long :)
Comments
[–]
brandon
16y 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)