Deep Dive

Two Pointers

167. Two Sum II · Arrays & Strings · 1 of 78

1/6

Sorted, find a pair

10L31426384115R
In this lessonStep 1 of 6 · ← → keys
The question

In a sorted array, find two numbers that add up to a target, using O(1) extra space.