Modify the program of Problem so that the concordance also includes the frequency with which each word occurs in the text.
Problem ,
The number of elements in a list may grow so large that finding a value in the list is not efficient. One way to improve efficiency is to maintain several smaller linked lists.
Write a program to read several lines of uppercase text and to produce a text concordance, which is a list of all distinct words in the text.
Store distinct words beginning with A in one linked list, those beginning with Bin another, and so on.
After all the text lines have been read, sort each list and then print a list of all these words in alphabetical order.