Algorithms that determines if a string has all unique characters