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 3 lists and count the numberof times each letter occurs in the ADSI_01_test_text.txt document provided.Your data structure should count only the letters a-z. If you encounter an upper-case 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:1. Output the number of occurrences of every letter.2. Output the number of comparisons made by the data structure.3. Output the total time take to run the analysis.This should all be output for MTFList, TransposeList, and CountOrderList. This means a total of 3*3=9 output sections

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!