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.
Why you think that?
I just test it in the console and my solution return 1, that seems to be the right answer, isn't it?
This doesn't appear to handle one of the Submit cases, which I'm guessing is [0, 0, 0]
Oops: I just figured out how to solve kata at any level, I think (or at least lower levels). Never mind...
Hmmm. I wonder if I have the same system glitch. I just got here. I'm a beginner. I solved an 8 or two, then a 7, and now I'm stuck with a 6. I want to go back to 8, or maybe 7! How? I came to practice, not beat my head against a wall! ;-) Seriously though this really looks great, it's my first exposure to TDD too and I think that might be fantastic even though I'm still mostly clueless... I just need to level down!
That is a brilliant while loop. Wow. I never knew... coulda been ++i * 2 < integer to save half your looping I think, but still brilliant. Oh, and coulda been (integer % i) || matched.push(i) I think. Everybodies a critic, I wouldn't have come up with this, very nice.