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.
In the TypeScript translation of the kata, running the kata fails because of the first two lines in the sample tests (the reference directives). However, if I replace
with the following:
it works as intended. Not sure if this only fails for me, but this fix should work.
Yes, you're right. I thought the debug output looked strange. I should have used concat instead, thanks!
I believe this is actually an issue with the test cases themselves, as some people have pointed out already.
The test case in question uses the parameters [1, 7] and [1, 8], which should return 0 but the test case wrongly expects 1.
Hey! I've added a Clojure translation for this kata a while back. Would be great if someone could review it!