Pergunta de entrevista da empresa Google

Implement an algorithm to determine if a string has all unique characters.