Pergunta de entrevista da empresa Amazon

Find the intersection of two arrays. Code it.