Pregunta de entrevista de Capgemini

Write a program for getting duplicate letters in a string