Unique Words (Python) It seems like we need to use linked lists. Summary Specifications: You are tasked to implement an abstract data type class which takes in a given input file called input.txt, and processes, identifies and sorts all unique word instances found in the file. Sample Input Hi hello hi good bye goodbye Bye bye good say Sample Output Bye Hi bye hello hi say The input.txt file is found along with the zip folder where this instructions file also came along with. Note: you are not allowed to use pythonic lists, and its methods and functions, and string methods.
Unique Words (Python)
It seems like we need to use linked lists.
Summary Specifications:
You are tasked to implement an abstract data type class which takes in a given input file called input.txt, and processes, identifies and sorts all unique word instances found in the file.
Sample Input
Hi hello hi good bye goodbye Bye bye good say
Sample Output
Bye Hi bye hello hi say
The input.txt file is found along with the zip folder where this instructions file also came along with.
Note: you are not allowed to use pythonic lists, and its methods and functions, and string methods.
However the use of the file handling methods (read readlines and readline) are allowed for this project.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images