Domanda di colloquio di Booz Allen Hamilton

Design an algorithm to check whether a string has only unique characters.