Re:Can you solve it? The Greplin programming challenge
by temugen on Friday October 08, 2010 @05:54PM
(#1773576)
Python powerset() with max(), list.remove(), and sum() builtins made the last problem's solution ~5 lines long :)
[ Parent
| on HN ]
Re:Can you solve it? The Greplin programming challenge
by brandon on Friday October 08, 2010 @06:19PM
(#1773652)
I don't know about powerset(), but challenge 3 was pretty trivial using Python's itertools module: http://gist.github.com/617663 (warning: spoilers)