Question: Read the words found in a file into an array object or an object created from an API class that implements java.util.List. Then sort the
Read the words found in a file into an array object or an object created from an API class that implements java.util.List. Then sort the list using merge sort, then remove all duplicate words. sort the list using insertion into an initially empty list. Do not insert duplicate words. Output the execution time performance of these two processes and the number of words remaining after duplicates have been removed from the list.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
