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
Loading collection data...
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