Hacker News new | past | comments | ask | show | jobs | submit login

Good article, and fun problem!

My way of solving this was to write down the rules of which the digits appear paper with a pen. Liked that you pressed for that in the article, it really helps me to understand.

However my own weakness is when it comes to put this down to code. I often tend to only use pen + paper when things can be automated. It was great to see your approach of first writing a simplified algorithm - and then take it all the way insightful.

Going to try out this in the future, thanks for good read!




Thanks for reading




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: