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.
mine takes 800 ms for all the tests
So what kind of time should we achieve for the random tests? I get times in the 240 usec range but still fail
This doesn't answer my question. What response time are you expecting to not fail the time test.
O(n) is good enough
python version
just how good does the solution need to be? I get times around 200 - 280 ms for running all 10 random tests (100 invocations each) so average time around 250 usec, this seems pretty good (to me). however, not a single random test passes the time constraint (all rsults are correct)