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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
fork
"test is broken" is not a proper issue report, i'm guessing this is a duplicate of this issue (no sample tests)
Test is broken for Ruby
agree!
This comment is hidden because it contains spoiler information about the solution
why would that be inefficient? starting with python now and I used sorted() as well.
what do you mean by "O(n log n)"?
you can view their solution by clicking on 'View Solution'
can you solve it by o(n) please?
No you cant do that, it would contain 0 and we dont want that
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Just a heads up:
Kata directions: "Do not mutate the input array/list." This solution mutates the input array.
The code will not work correctly for double digit scores. But this particular kata only tests for scores from 0 to 4 on each side.
Loading more items...