Citi interview question

print all the recurring characters in String