Unique Characters


Collapse Content

The King of Zumbania passed a new law: No one's name can contain duplicate characters. As the Royal Developer, you are tasked with writing a program to enforce this rule.

Create a program that checks if a given name has duplicate characters. Uppercase and lowercase letters are considered duplicates of each other. The names will not contain any spaces. (Optimization is optional.)

Challenge

Create a program that prints true if a name has duplicate characters and false otherwise.

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Comments

Contact Us
Sign in or email us at [email protected]