Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
omg
Freaking prelude! There should be a second solution for this!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This entire Discourse section must be purged!
thanks !
Arthas did nothing wrong!
This comment is hidden because it contains spoiler information about the solution
slightly improved version from before with minimally better performance characteristics (saves on two iterations of the loop)
Is this somehow inferior? It's a straight port of my Haskell dynamic programming.
This comment is hidden because it contains spoiler information about the solution
Thank you so much. This is silly, but it works.
deliberate ST / Vector trolling. I am a Functional / Haskell baby, after all, and whereas for most people, Haskell is for learning FP, Haskell is for me "learning to program".
This will bug out on zero length strings, because the pattern match requires at least 1 element.
If you have to use
!!
, you're doing it wrong. A list is a control structure already.Loading more items...