GlobalLogic Interview Question

Print Letter and its frequency in the string