when input "^~" string. The function isUniqueChars and isUniqueChars2 output is different. result: ^~: false true I think function isUniqueChars is not without considering that two different characters may use the same bit.