0
Given two arrays how to print smallest unmatched elements present in 1st array
Array1 1 3 4 array2 1 3 5 7 output 4
1 Answer
+ 1
1. Sort both array elements in ascending order.
2. Compare each element of array and 1st mismatch will give you the 1st smallest mismatching number.