Sears interview question

Find duplicate values in a String