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.
Thanks for posting! I think I've corrected the issue. Could you try re-running the tests, please?
Description should specify the case of multiple 9s between two 7s (
79997
).Ordering should be removed from the description.
Unclear about the usage of the block argument. An example and a few test cases would clarify that!
No, it's correct. I think you're confusing permutation with variation. When doing permutation you only rearrange the items, so you can't use an item twice.
Hey! Check out jsperf.com, that's exactly what you're looking for! I've just checked this solution against my own (http://jsperf.com/regexpsplice). It was nearly the same in Chrome, but regexp seems to be slower in FF (on Linux x86).
Very nice solution by the way! (: