Given a string s, return a new string with all duplicate characters removed while treating uppercase and lowercase letters as identical. Preserve the original character and order from its first…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.