Given two 0-indexed sorted integer arrays A and B of length N, and a target index I, find two indices x and y in array A such that A[x] + A[y] + A[I] = B[I]. Return [x, y] as a pair of indices. If no…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.