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 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
- Occupational Safety and Health Management Report, OUM, malaysia Discuss the tragedy happened in this movie from the point of view of the Domino Theory and Multiple Causation Theory
- International Finance Assignment, MU, Malaysia Malaysia is the 19th largest export economy in the world and the 25th most complex economy according
- Contract law Assignment, TP, Malaysia What you have learned? What is the takeaway? What are the skills acquired from this subject? Will you be using this skill in future
- DPM10013 Principle of Marketing Course Work PM Malaysia Draw Three marketing channels for the consumer market with appropriate examples
- Innovating Digital Systems and Services Course Work, APU, Malaysia You are expected to undertake an individual innovation project and to submit a project report to London
- Explain the alkyd resin material, the properties, compare the recent development Courswork, USM, Malaysia
- BMG302/03: The Johari Window is a model that helps individuals understand their relationships with themselves: Organizational Behavior Assignment, WOU, Malaysia
- LAW1014: Business Law Course Work, SU, Malaysia Discuss the application of the doctrine of caveat emptor with particular reference to the implied conditions
- Nueral Crest Cells Assignment, OUM, Malaysia Jelaskan konsep etika dan peradaban yang diamalkan dalam konteks Malaysia sebagai pelajar bagaimanakah anda mengaplikasikanya
- Economics Assignment, OUM, Malaysia Draw supply and demand diagrams to illustrate sequential changes in the domestic market for Hainanese chicken rice in Singapore