Set operations on arrays
An action to perform set operations on arrays will be helpful to find
1. Combine arrays without duplicates. (Union)
2. Common elements in arrays. (Intersection)
3. Substracting one from another (Difference/Compliment)
More about sets : https://www.cuemath.com/algebra/operations-on-sets/