I have two arrays
a = [1, 2, 3, 4, 5]
b = [2, 4, 6]
I would like to merge the two arrays, then remove the values that is the same with other array. The result should be:
c = [1, 3, 5, 6]
I've tried subtracting the two array and the result is [1, 3, 5]. I also want to get the values from second array which has not duplicate from the first array..
(a-b)+(b-a)
.