i need to do a program that is called Top-k, which that can read many files in a same directory, and after reading these file, and it should print the most k frequent word at last.....also it need me to write a precomputed program to increase the speed also before running that top-k file.
i want to know what the precomputed program is for what, why need it?
and also my idea is using a link-list to create the word and the frequent in top-k program, am my think is correct?
i hope someone can give me some idea and hits for finishing it.
really thank you.