Pregunta de entrevista de Epicor Software

Q: Find the frequency of characters in a string Q. Reverse a string