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.
very clever man
The trick with implicit conversion (boolean to integer):
Use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
why 2 ?
It's very simple, although it contains a magic number which isn't great practice unless if it's self-explanatory. The 3 here is self-explanatory but the 2 is not. Things like this should be labeled with a comment or set as a variable.
i mean yea, how i didn't think about it. Any books recomendation for algorithms?
I didn't understand what does that mean
lol.. yea, I was wondering the same thing! haha. oh well, I just added 'y' to my list of "vowels" to satisfy this kata
haha.. nice :P