Two Sum II (Sorted)
easyFind two numbers in a sorted array that add up to target
Two Sum II (Sorted Array)
Key Insight
In sorted array: sum < target → move left right, sum > target → move right left
Step 1Setup: Find two numbers summing to 9
Target: 9
left
2
07
111
2right
15
3→converge←
Array is sorted. Place left pointer at start, right at end.
1 / 5