Pregunta de entrevista de EPAM Systems

String grouping of its frequency using stream api