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.
Same here!
do you need the join? wouldn't the operand array have the same length?NM. I see where my logic fails. You get an array of empty strings, so length is NOT the same.
it's readable if you understand regexp.
You're not dumb. It's just another notation that a lot of languages have incorporated. Super useful, but if you haven't invested the time to learn it, you could hardly be expected to know it any more than you could be expected to know Ancient Greek, if you'd never studied it.
This comment is hidden because it contains spoiler information about the solution
It's not that hard to read, if you're familiar with regular expressions. I recommend getting familiar, they are pretty useful.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I had a similar circuit-break approach that avoids processing the whole array if the outlier is close to the beginning, but yours is much more concise. I think readability suffers a bit, but still, nice work.