We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
I use O(n^2) to solve it, there will be a better solution!
O(n^2)
Think it over using binary search.