Find an extra element in two almost similar arrays
Given two arrays where the second array has all the elements from the first array and one extra element. Example: arrA = [1, 4, 2, 5, 7] arrB = [1, 2, 4, 1, 7, 5] Output: 1 arrA = [1, 8, 2, 0] arrB = [1, 8, 4, 2, 0] Output: 4 Solution: This problem … Read more