Merge two sorted array without duplicates
Question Given two arrays, merge two sorted array without duplicates. Solve in a most efficient way. Logic Compare first index element of both array and store the smaller one in the new array. Increment the index of array ( with a smaller number ) Again compare elements of two array and store the least in new array. […]