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.
...but
O(n) is possible too... :/O(n*m), actuallyedit: mmmmh... wait... aren't you talking about O(n log m), rather?
edit²: wait, I'll solve it in JS to see what we're talking about... x)
edit^3: damn it, my brain is lazy, this evening... possible in O(n+m), that's it (or even just O(n), depending on the approach used. Anyway...)
I don't.
O(n^2)
whereO(n log n)
is possible.I like this one.
nice!