Find Pair Closest to K

Asked at Meta · Coding Questions · Difficulty: Easy

Find and return a pair of integers in a sorted array (all integers are positive) that, when summed up, bring you the closest to the value of `k`.

Loading the problem…