Find the first unrepeated character · Compiler
Find the first unrepeated character
Find the first letter, reading left to right, that occurs exactly once in the entire word.
- Input
- One word of 1 to 100 lowercase ASCII letters.
- Output
- Print that letter, or NONE if every letter repeats.
Compiler Explorer runs your code when you run or check it.
Loading your exercise draft…