Dino Systems Interview Question

write a function to find an intersection in arrays