Don’t worry if it doesn’t work right. If everything did, you’d be out of a job. Mosher’s Law
Write a program to find the intersection of Two given Arrays. The utility function takes two arrays and returns the intersection array.
Array 1 values: [a, b, c, d] Array 2 values: [c, d, e, f] Intersection of two arrays: [c, d]