Given an array of integers A and a target integer K, return the indices or values of the first pair of elements whose sum is exactly equal to K. If multiple pairs exist, return the one that appears…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.