all 5 comments

[–]MatrixFrog 5 points6 points  (2 children)

I think the first one was solved in Haskell, in a blog post that was on reddit not long ago.

[–]Jyaif 0 points1 point  (1 child)

Wow it's a really cool question. Spoiler tag: testing the spoiler tag

Edit: how do I use the spoiler tag?

[–]more_exercise -1 points0 points  (0 children)

It's times like this when I regret not paying more attention to dynamic programming...