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.
For anyone wondering, this is definitely and absolutely NOT best practice! Its not even a clever solution.
This comment is hidden because it contains spoiler information about the solution
oh nice code
This is true and you have to add an tmpy string in the first test as argument, but gets worse as i got another error with the tests that you cant see...
I thought the 0 was for if the array was empty.
It is really nice solution :)
You can omit first parameter, and write "inject(:+)"
whats the " :+ " do? in other words, what does the second paramter take??? never seen nothing like this inject