Question: Implement MTFList, TransposeList, and CountOrderList as separate . hpp files. For each node ofthese linked lists, have them hold a letterCount value as their data.
Implement MTFList, TransposeList, and CountOrderList as separate hpp files. For each node ofthese linked lists, have them hold a letterCount value as their data. The CountOrderLists node mayrequire an extra count value for its ordering.Once you have the lists implemented, compare their performance at counting the number of lettersin a text document. All letters in the English alphabet occur at different frequencies. For example,the letter e is far more frequent in English text than q or x Use your lists and count the numberof times each letter occurs in the ADSItesttext.txt document provided.Your data structure should count only the letters az If you encounter an uppercase letter, convertit to lower case. Additionally, have your lists store the number of comparisons when searching for akey. This will be used to compare the lists for their performances.As you analyze the performance, also record the amount of time used for each analysis. After everylist has been tested on the data set, report the following for each list: Output the number of occurrences of every letter Output the number of comparisons made by the data structure Output the total time take to run the analysis.This should all be output for MTFList, TransposeList, and CountOrderList. This means a total of output sections
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
