GoDaddy interview question

find the duplicates in a string