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.
I think you did the same mistake as I have (as I got exactly the same failed test)
The problem was, that I was always looking for odd number in the list (which was super easy)
The real task is bit more complicated, so make sure you read the description carefuly.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Start by searching about currying in javascript.
It's not quite what the kata asks for, but add a little recursion and you will find the answer.
You will also need to know how to make a function which can also be used as a value.
Start by searching about currying in javascript.
You will also need to know how to make a function which can also be used as a value.
Which language?
I think it's ZozoFouchtra's signature (he's the author of the JS translation).