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.
which one? Provide examples
Tests case raising an error on valid code
Missing some test cases to be good
One map for sure. Not sure why I did that. Thanks for pointing it out!
Nice and clean way !
However i got a question (i'm relatively new to ruby) :
Performance wise, what's the better between :
.map{|n| n.to_i.even? }
And
.map(&:to_i).map(&:even?)
Thanks