Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The size shouldn't matter once you have a good algorithm for solving it :)


Well, I could do his in my head. Actually, no, I have that one memorized.

I had a perfectly good algorithm. It was a memoized recursion. The problem was that my program printed something like blah*10^27 and they were asking for an exact answer.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: