Latest commit History History 20 lines (17 loc) · 324 Bytes main neetcode-website / go / ...
// Using 2 pointers. Since sorted, if l+r > target, decrease r. // Else if l+r < target, increase l. Else, result is found.