Part 1. Definition
In this task, you are given a string of characters. You need to remove duplicate characters from the string if any, and return the resulting string.
Part 2. Example
abCCdDDgGGhi
Answer: abCdDgGhi
Explanation: The input string has 3 duplicate characters and the resulting output string has no duplicate characters.
Part 3. Exercise
wrSaiSqvLVWTonDdYQMRvQVZajrYEw
Answer:
wrSaiqvLVWTonDdYQMRZjE