Adecco interview question

Write the logic to find repeated chars from a string?