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 he's referring to the {} after #map.
Mine is basically the same as this one (mine has a ternary operator in the block) and this has lots of upvotes. It makes me feel I am progressing in my Ruby skills now :)
Look simple, i like this one.
great solution. would you by anychance know a good website that explains blocks in details? Cause honestly, without the description of the kata I wouldn't understand what you did.
thanks
@p7r But it's also more optimized. O(n) vs. O(n^2).