Bloomberg interview question

Unique occurrence in a string