Google Interview Question

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