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.
i think he is right, it used to be specified that the input was sorted, and this is what most languages seem to be doing, but the C++ random tests generate unsorted vectors. this should be put back in the description, and the C++ tests should be fixed, see here
The description is shared among all languages, so it is not the issue ! I also passed the tests in C++ with my initial working solution.
Great kata, but i think its description (especially for c++ users) is incorrect. e.g. array can be {-190, - 993}.