Question d’entretien chez Amazon

Write a code to get intersection of two arrays