Amazon Interview Question

Find Duplicates in a String.