Pergunta de entrevista da empresa Amazon

Find all the common elements between two arrays.