Domanda di colloquio di Amazon

How would you find duplicates in two unsorted integer arrays