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.
Once it has a reply, no, you can't, don't worry.
I was just coming back to delete my comment (guess I can't?), the problem is mine. I mixed the expected and actual values.
Which language are you talking about? If it is Python the tests are fine:
I don't see as you claim,
-97--96
or-94--93
in the expected result.Your code is producing the wrong answer there, it's the first one in the error message.
For ranges of only 2 consecutive numbers, for example [2, 3] in [0, 2, 3, 5], the tests expect it to be shown as individual numbers '2,3' if the numbers are positive, but as a range '-3--2' if the numbers are negative. Shouldn't it be consistent for negative and positive numbers?
Yes, this is very clever!
Is that a compliment?
You cheeky bastards.