LC: 1099. Two Sum Less Than K - spiralgo/algorithms GitHub Wiki

1099. Two Sum Less Than K:

The Essence:

The aim of this question teaching us how to search in an integer array. Pay attention to that the array is not sorted.

Details:

The Binary Search algorithm is a good candidate to solve the problem. But we need to sort the array first.