Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 97 Bytes

File metadata and controls

3 lines (2 loc) · 97 Bytes

I use O(n^2) to solve it, there will be a better solution!

Think it over using binary search.