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.
I finaly understod it from your reply, thank you.
Very elegant use of the Set here. Congratulations.
ok, I get it.
the range -3-1 includes those values: [-3.-2.-1.0,1]
Very poorly written description.
Also can anyone tell me why numbes 0 or 1 don't appear in the return of the provided example ?
solution([-6, -3, -2, -1, 0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 14, 15, 17, 18, 19, 20]);
// returns "-6,-3-1,3-5,7-11,14,15,17-20"