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.
Where do you read the output should contain spaces?
There? Yes, they should be removed from there. Done.
The definition of the format says that there should be spaces in the output. The example output does not contain spaces:
// returns "-6,-3-1,3-5,7-11,14,15,17-20"
. So, what would you like?