Accenture interview question

Coding question about unique characters in string