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.
Woah, never seen this syntax
first_letter, *middle, last_letter = word.chars
cool!
Not an issue. Or at least it's a different issue, which I've reported above.
Why are people voting this as 'Clever'? Using the squeeze method is not very obscure language and it looks pretty clear to me.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
No, I think the kata is clear about being sequential by 1.
My solution looks like yours. Is yours really faster than @levivoelz?
Hey @clayton.enga, your test case is invalid because on Bob's IQ test he will only be given an array of numbers with ONE different number than the rest in terms of 'evenness'.
Didn't know about the argument for
with_index
. Great!