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.
Ok, good, but why this works?
Let's say i have an algorithm that gives me the right array with time complexity of O(nlog(n)), more precise nlog(n)+2n. Maybe i can just optimize some instruction here and there, change the while statement with for...but i only pass the first 5 large test. Is there any hint about mathematical properties that i should care about? because i cannot think an algorithm more optimized than that, there must be some tricks, maybe with the structure/composition of the original array...pls help!
Unbelievable
It is.
This comment is hidden because it contains spoiler information about the solution
i1 instead of j --> BLEAH
HOW???
What? HOW?????
What???
WTF???
What???
What???
Impressive...
Yea it should be 2n+2 where n is the vector size.
Impressive...
Loading more items...