## Find the closest pair from two arrays

Problem Given two sorted arrays and an integer X, find one number from each array such that the sum of these two numbers is the lowest possible. Approach 1 Since the arrays are sorted, we can decrement values one by one from the first array and find the remaining element in the second array. For example, if the… Read More »