Fundamentals/Two Pointer Templates
← PrevNext →
Given a sorted array of integers and a target, return [i, j] indices of two numbers that sum to target using two pointers, or [] if none.