Altimetrik interview question

Find duplicae char in given string