logoalt Hacker News

cocototoday at 6:38 PM0 repliesview on HN

Even if you don’t know or remember the basics of combinatorics you can solve the problem with basic dynamic programming : start with the unit grid and then expend it.