InnovationM Interview Question

for coding ..character frequency in string without using any collection or string method