by andrewcooke · 16y ago · 0 comments
and if anyone is thinking of trying, i'd recommend it - it's not a huge amount of code and requires at least one smart idea (i think - had me bashing my head against a wall for a while...).
[if anyone wants to compare results - just the final number, no spoilers please - then drop me an email]
[but i don't really want to spoil things for quora by discussing a solution here, i was more interested in swapping final results so that people could check they have the right answer]
ps i believe my solution is ok, now, after checking it at lunch time, but it's a little slower than theirs, which is making me think i have missed something.