Liquiloans interview question

Find out duplicate char from string.