Pregunta de entrevista de Coforge

1) reverse string 2) find frequency of character in string using java 8