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 am so confused on the seperate maximums here.
yeah... this was done badly, way too long ago. i'll redo it someday '-_-
О(n) complexity ?)
This fails with new[] { 11, 11, 7, 7, 14, 11, 11, 10, 10, 8, 8 }
learning C# and linq stuff is cool, but v happy to find one that works with enumerables directly!
This comment is hidden because it contains spoiler information about the solution