Pergunta de entrevista da empresa Capgemini Engineering

Find the duplicate values in a given string?