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.
size-2 you're right ! i used size-1 on both i and j
I'm lose something, or this would check the same value many times?
"&&" is preferred over "and" as a logical operator in Ruby, "and" can lead to unexpected behavior in some cases.
Here's an answer I wrote up on Quora about it: Why don't many programmers use the keywords "or" and "and" in their programs but always opt for "||" and “&&"?.
Same fail to my solution
Me too
confused by this solution
Como exercício para o Ruby não exige conhecimentos específicos.