GlobalLogic Interview Question

count the frequency of words in your name (using datastructure) and without data structure