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
- Analytics/justifications/pros and cons – for the improvement of human life?: Data Assignment, HWU, Malaysia
- Personal Finance and Insurance Assignment, APU, Malaysia Anthony and Hannah are a young married couple who got married nine years ago. Both of them are 32 years old and have three children
- English for Business Essay, TU, Malaysia Climate change is the biggest threat to global health in the 21st century. Some of these threats include more frequent and intense droughts
- Portfolio and Risk Management Report, APU, Malaysia You are expected to read beyond textbooks and able to apply the knowledge gain from real life examples either from your working environment
- A 6 -week old Indian boy admitted to pediatric ward with spina bifida and lumbosacral myelomeningocele: Paediatrics Assignment, UOM, Malaysia
- LAW434: Malaysian Legal System Assignment, UITM, Malaysia With reference to decided cases discuss the application of the doctrine of stare decisis in Malaysia
- BUSN11079: Discuss the importance of decision-making and the application of decision analysis: Analytical Thinking & Decision Making Assignment, UWS, Malaysia
- Cyhoeddus Research Paper, UON, Malaysia What is the purpose of the statistical test & E.g. the purpose of regression analysis is to estimate the relationship
- BMHR5103: Human Resource Management Assignment, OUM, Malaysia Human resource management has a responsibility to ensure that the organization follows Occupational Safety and Health
- BBUS2103: The purpose of this assignment is to enhance learners’ ability to discuss the principles related to members of a company: Company Law, Assignment, OUM, Malaysia