94. Isogram Check
EasySet
A word is an isogram if no letter repeats (ignoring case). Print YES or NO.
Input format
A single word.
Output format
YES or NO
Example 1
Input
Dermatoglyphics
Output
YES
Example 2
Input
hello
Output
NO
Constraints
1 ≤ |s| ≤ 10⁵
Read input from standard input and print the answer to standard output. Your code is judged against 4 test cases, most of them hidden.
Loading the MyLoginn IDE…