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.
wow haha i would have never thought of this. Very clever indeed
Impressive one
Yep, definitely "very minor" issues. I thought about that, and in production one should really think about the implementation of the correct algorigthm to compute overlapping intervals. But still, it's a funny, dumb and straightforward solution :)
Wow. A clever solution indeed. Just never thought it this way. !!
It returns the correct solution, 7.
This fails on some use cases, e.g. [-2, 1, 2, -2, -2, 7]