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

Spoiler: Knowing Mathematical induction (http://en.wikipedia.org/wiki/Mathematical_induction) really helps.

It was not that hard at all.



To correct myself: It was a little bit harder than it seemed at first. I forgot to prove that my solution was optimal.




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: