Pregunta de entrevista de Mphasis

Convert string to Integer without java API Find how many times each charater is in the string