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.
Sounds like you're not familiar with Haskell.
Available language features in Haskell make my solution there much more readable ( and short ) than in JS. My JS solution has so much overhead to implement necessary features I consider it pretty much unreadable, even if in essence it's pretty simple.
I've commented something earlier in the vein of this. At first I was too busy looking for an elegant solution and then gave in and submitted something rather simple but non-elegant. I believe the most elegant solution I've seen among the two languages I'm familiar with is
JohanWiltink
's JS solution.Your comment reminds me of this. A very simple melody, but it took 1 genius to come up with it.