Question d’entretien chez Bloomberg

Print the first 9 non-duplicate characters from a string.