Pregunta de entrevista de Techpearl Software

Find duplicate elements in the 2 arrays.