Citi Interview Question

Find duplicates in a string.