Question d’entretien chez Amazon

How would you find duplicates in two unsorted integer arrays