ADP Interview Question

How would you find duplicates in an array?