Pergunta de entrevista da empresa Solera

Write a program to find the duplicate characters of a given string