Adecco Interview Question

Write the logic to find repeated chars from a string?