Pergunta de entrevista da empresa Nagarro

Java program on finding the repeated character in string