Two Sum II - Input Array Is Sorted
Given a sorted array of integers and a target, return the 1-based indices of the two numbers that add up to the target. Exactly one solution exists.
Given a sorted array of integers and a target, return the 1-based indices of the two numbers that add up to the target. Exactly one solution exists.