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
- ELC101: Introduction to Instrumentation Case Study, DTCC, Malaysia The reasoning found in the judgments of the Lord’s Justices of Appeal is fairly consistent. All three agree
- Psychology Research Paper, SU, Malaysia Digital Storytelling Products As Means To Increase Generativity Amongst Malaysian Educators In Middle Or Late Adulthood
- Procurement Management Assignment: Comparative Study of Methods for Large-Scale Projects
- FIT1047: User input (4 points) The next step is to implement a subroutine that reads a string, character by character: Introduction to computer systems, networks and security Assignment, MU, Malaysia
- High Electron Mobility Transistor Research Paper, UM, Malaysia We use the natural zeolite clinoptilolite as the sensitive element in a plasticized PVC membrane
- MGT7998E: The Relationship in Between Service Quality Dimensions and Patient Satisfaction of Public Hospital in Malaysia: RESEARCH Assignment, IIU, Malaysia
- MPU3412: Bincangkan topik berikut dalam forum dan serahkan bukti penyertaan anda dalam perbincangan dalam talian: Community Service Assignment, OUM, Malaysia
- FFN20303: What is the present value of the following payment stream at an interest rate of 7%; $1000 today: Money And Capital Market Assignment, MSU, Malaysia
- Physics Assignment, UTM, Malaysia Encourage the recognition of Physics principles taught in class in the everyday world
- BBCM1023: The Role and Significance of Management Information Systems: Management Information System, Assignment 1, CU, Malaysia