Implementation of the intersection operation for arrays.
int[] arr = calcIntersection([3, 4, 1, -15], [9, 3, 1], [1, 99, 3]); assert(arr == [1, 3]);
See Implementation
Implementation of the intersection operation for arrays.