FIT2004: Algorithms and data structures Assignment, MUM, Malaysia you need to create a program the user can enter a word, reverse the word and check if the word is a palindrome word using a linked list
University | Monash University Malaysia (MUM) |
Subject | FIT2004: Algorithms and data structures |
you need to create a program the user can enter a word, reverse the word and check if the word is a palindrome word using a linked list. At the end of the program, it will list all of the palindrome words from the words entered.
The program must consist of the following method/function:
a) menu() – as an interface for the user
b) add_word(string) – to enter the word into the list
c) show_list() – to display the lists
d) reverse_word(string) – to reverse the word
e) palindrome(string) – to check if the word is a palindrome
f) palindrome_list() – to list all of the palindrome words
g) delete_list() – to delete list
For example, a segment of output:
How many words do you want to enter: 3
Please enter a word: kayak
Please enter a word: madam
Please enter a word: world
Reversed the word: kayak
Reversed the word: madam
Reversed the word: low
kayak is a palindrome word.
madam is a palindrome word
world is not a palindrome word.
List of the palindrome words: kayak, madam
Get Solution of this Assessment. Hire Experts to solve this assignment for you Before Deadline.
Get Help By Expert
Are you looking for FIT2004 Algorithms and Data Structures assignment help? If so, AssignmentHelper.my is here to provide you with the best assistance. We are a leading online assignment writing service provider based in Malaysia that offers top-notch academic writing services to students worldwide. Our team of experienced homework helpers has been carefully hand-picked for their expertise in FIT2004 Algorithms and Data Structures. They are well-versed in the concepts and theories of this subject, and have years of experience providing quality assignment assistance to students studying for the MUM course.
Recent Solved Questions
- Choose a local company that you know well and can access information about. The company should either: Strategic Business and Management Assignment, Malaysia
- BAGB1023: Organizational Behaviour Assignment, UIU, Malaysia You are required to prepare a Change Management Plan for the Company
- MKW2460: Integrated marketing communication Report, MUM, Malaysia Your group is to assume that you are the Marketing Communication Manager (IMC Manager), and you are to develop a new product
- Management Information Systems Report, AU, Malaysia To create a report and dashboard of sales analytics. Also, using the power bi technique, different customer types, product groups
- Research Methodology Assignment, UiTM, Malaysia The unprecedented global event of coronavirus disease (COVID-19) struck in 2020, creating the worst downturn in Malaysian
- Object Oriented Programming Assignment, UiTM, Malaysia Based on research done by Mr. Rushikesh S. Raut, the use of object-oriented programming has increased in the software
- CDCN3103: Introduction To Computer Networking Assignment, OUM, Malaysia Digital Farm is a renowned local company running server farms. Due to its successful digital hosting-related services
- MPU3192: Falsafah Dan Isu Semasa 2 Assignment, OUM, Malaysia Kongsikan pandangan anda kebanjiran konsert artis dari luar negara dan dalam negara di Malaysia pada tahun 2023
- Strategic Operation Management Assignment, HWU, Malaysia BP’s operations management and analyze the issues to determine the core problem that led to the Deepwater Horizon Disaster
- ACC4304: Auditing Essay, UH, Malaysia Write an essay that critically evaluates the impact of an accounting scandal on auditor independence and audit quality