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.
Use of deconstruct for spliting world
Use of backticks for join
Use of sort rather than reverse
Writing of a basic test
Golfing on the variable name
Use of count method
Use of an direct return
Condition without if/else
The return True is not neccessary.
The problem is simple, maybe add random tests
Cool quotes
The goal is to learn with extra eyes on a problem.
An other approach is the use of regexp - I've posted my solution.
It's seems doesn't work in older ruby version. I've tried with 2.2.3 version, it's a syntax error.
Maybe this is not a tick for production but quite nice trick.
I don't clearly understand this error
I'm quite puzzled, I think I've made all the test cases and I've created new ones but my final submit doesn't work
I've got this
My solution for now is quite dirty but it works in the first test but not for the final: