ADP Interview Question

Check if array contains duplicates