##
Find N’th item in a set formed by sum of two arrays
March 12, 2017

Given two sorted arrays, we can get a set of sums(add one element from the first and one from second). Find the N’th element in the set. Note: Set of sums should have unique elements. Examples: Input : arr1[] = {1, 2} arr2[] = {3, 4} N = 3 Output : 6 We get following… Read More »