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.
It's not explained how exactly should we handle them.
Ruby: input is mutable and used afterwards to produce reference and error message
Multiple or leading or trailing spaces are not tested in Python and Javascript.
The description never mentions reversing the position of spaces.
For
if we only swap the case and reverse the order of words as the description asks, we should get:
However, in ruby, the test expects
Either the description should be clearer on how spaces are supposed to be repositioned, or the test cases need to be fixed.
the word 'handle' in this sentence is ambigious. I understood it to mean 'remove.'
I suggest replacing this sentence with something like:
Your solution should preserve the appearance of multiple spaces and/or leading/trailing spaces.
This comment is hidden because it contains spoiler information about the solution