Pregunta de entrevista de Capgemini Engineering

Find the duplicate values in a given string?