Given a string which may contains lowercase and uppercase chracters. The task is to remove all duplicate characters from the string and print the resultant string.
Approach
We can use a constant memory space for each of the characters and use it for tracking. The below example covers for alphanumerics. The `chars` array used will be set and used to skip duplicate entries.
You've successfully subscribed to Coding Today
Great! Next, complete checkout for full access to Coding Today
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.