Booz Allen Hamilton Interview Question

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