Some problem solving programming challenges, i have solved. Not all are here, but started adding them slowly.
This project is maintained by chankruze
You aren’t paying attention and you accidentally type a bunch of random letters on your keyboard. You want to know if you ever typed the same letter twice, or if they are all unique letters.
If you are given a string of random letters, your task is to evaluate whether any letter is repeated in the string or if you only hit unique keys while you typing.
A string of random letter characters (no numbers or other buttons were pressed).
A string that says ‘Deja Vu’ if any letter is repeated in the input string, or a string that says ‘Unique’ if there are no repeats.
aaaaaaaghhhhjkll
Deja Vu
Your program should output Deja Vu because there are many repetitions in aaaaaaaghhhhjkll.
Language | Solution |
---|---|
C | not available |
CPP | not available |
C# | not available |
Python | available |
Java | not available |
Ruby | not available |
Swift | not available |