Problem B11 · Easy

Two Pointers: Find a Sorted Pair

Find two distinct indices whose values sum to a target in a sorted array.

Open the interactive visualisation