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.
Smart coder
That's how JavaScript works. This kata is just to show us this weird behavior. Btw he didn't consider
null
as numbers.Thanks :)
Hi tyyr. Adjusting the index one "to the right" from 0->1 is the same as shifting the actual array elements one "to the left." Keep in mind the sequence wraps around.
This comment is hidden because it contains spoiler information about the solution
Oh right, I didn't know :P.
Is this faster than a normal for loop?
nice
Why would you consider null or NaN to be numbers?
This kata doesnt make any sense to me.
Yes it does
EDIT: No it doesn't :P
4000 iq
Doesnt work for the year 248993559122 :p