https://akhilkumarp.medium.com/finding-duplicate-characters-in-a-string-a-javascript-approach-c53cae1c2bbd