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.
Nice solution!
Are you sure, Stefan? I calculate this as
O(n log n)
. And from what I can tell, your solution seems to beO(n log n)
too.Can anyone confirm?
This comment is hidden because it contains spoiler information about the solution
Very clever
Okay
Nice!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Nice solution!
I love this solution. Very well done, and very elegant.
Thanks for the kind words!
Thank you! I am honored! :-)
This is actually a better 'Best Practice' code than the other submissions.
You can understand it in one go and doesn't look too complicated.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...