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.
This comment is hidden because it contains spoiler information about the solution
I appreciate the spirit behind this kata. However, it needs a significant rework or needs to be retired.
I would recommend specifying a subset of the real world functionality like
However, if you took these suggestions then the problem is not very interesting anyway.
This comment is hidden because it contains spoiler information about the solution
Did this while on the phone with someone. Could be cleaned up significantly but the method makes sense.
lol
If anybody is wondering, this is indeed faster than regex: http://jsperf.com/regex-vs-split/7
edit: actually depends on browser. Run the test for yourself.
I'm having trouble following this one, can anybody shed some light as to what is going on here?