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.
Dang!! I knew there would be a regex for it... spent almost an hour trying to come up with it... finally quit and went with ifs and substrings :(
At the end we narrow the result to the second item of the array. Why does it return array with 2 items?
solutions like this make me want to understand the incantations of regex. well done
Use spoiler flag next time. That is an anti-pattern, if the method already returns a boolean simply return the method.
This comment is hidden because it contains spoiler information about the solution
I like to have a reference tab opened beside just in case
love learning about new functions! thank you
floor/integer division! that would have saved me three lines.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution