3 ms·
So long as we're doing this, here's a solution in ~73 lines of Ruby: https://gist.github.com/1375695 https://gist.github.com/1375695.
by necubi 15y ago
So long as we're doing this, here's a solution in ~73 lines of Ruby: https://gist.github.com/1375695 https://gist.github.com/1375695.
- garyburd 15y agoHere's a solution in ~50 lines of Python: https://news.ycombinator.com/item?id=3249937 https://news.ycombinator.com/item?id=3249937