FloSports interview question

Find and print duplicates in an array