Two Pointers
Pair Sum
Given a sorted array and a target, find a pair of numbers that add up to the target.
1 / 4
1
2
3
4
6
Target: 6Current sum: 7Two Pointers
Given a sorted array and a target, find a pair of numbers that add up to the target.
1 / 4
Target: 6Current sum: 7