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.
Nobody's going to change the kata in the way you suggested years after it was approved.
Thank you for your comment. Unfortunately, it is probably too late to make changes to the problem condition, since all decisions of users who used the libraries will be invalid. I will definitely consider your proposal in the future.
Mine is O(logN), in Python. It's a binary search.
Hmmm. Well spotted.
Edit: Fixed - https://www.codewars.com/kata/reviews/594cb7a5c8b090e4d40009c0/groups/5fa7824fa3c4740001b6dfa0