Question

Write a function that determines if a string has all unique characters?

Login to Submit

Examples

Input: "cat"
Output: true
Reason: All characters are unique


Input: "school"
Output: false
Reason: There are two o. So, all characters are not unique.