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.
agraboso made a good point, I think it would be good to state, that we are required to return the most minorized sequence possible. (or smth like that, as opposed to majorizing sequence https://en.wikipedia.org/wiki/Majorization)
Pick the first one.
[1,2,3,6]
comes before[1,2,4,5]
.What's the issue?
https://github.com/Codewars/codewars.com/issues/1592
https://github.com/Codewars/codewars.com/issues/1683