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 agree.
hmm, so the code as well as the test cases has flaws because my code passed. But now i see
The pattern's length varies with every test, but the alternation between encoded text and an encoded number will always be there.
part clearly. Thanks for spotting that outIf its binary the priority is that you convert it to a number. Wasn't that the case ?
Glad you profited! Coming from a background of functional programming myself, I share your sentiments.
That's why I decided to make a few katas to become more acquainted with all the class magic.
So be on the lookout for more similar stuff coming soon ;)
It was actually already good to post it... even better to read your comment ;)