Pair with target sum
Jan 9, 2023 · 2 min read · Leetcode: 167. Two Sum II - Input Array Is Sorted Given an array of sorted numbers and a target sum find a pair of indices in the array whose sum is equal to the given target. 0123456247891214 Target Sum = 13 Output : [1, 4] Approach 1: Bru...
Join discussion



