American Express interview question

check if the string contain duplicate letter