Pexlify Interview Question

Given two arrays find common elements.