PayPal Interview Question

finding duplicate characters in a string