Existing solution can't processes duplicates and treats them as different strings
Existing solution can't processes duplicates and treats them as different strings