InfoBeans interview question

Find duplicates charaters in the string