Everpure Interview Question

Find doubles find duplicates in a string