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.
Happy to have helped!
That's obvious with [3, 7] coming out to 10.
(10, 2, [9, 6, 7, 4]) coming out to "days: 1" would actually explain the concept.
There should be a test case using: (10, 2, [9, 6, 7, 3])
to make the "consecutive" aspect obvious. I got caught up by this as well.
I wish there was a "Bad Practices" button for people who name variables this way.