Given a string s, determine if all characters in the string are unique (i.e., no character appears more than once).
Return true if all characters are unique, or false if any character is repeated.
s = "abcdef"trues = "hello"falses = ""true0 <= s.length <= 10^4s consists of lowercase English letters, digits, and/or common punctuation.Run your code to see results
Use Cmd+Enter to run