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
- Identify and discuss the reasons for Asda to conduct workforce planning: Human Resource Management Essay, UTM, Malaysia
- Disease Prevention Assignment, UKM, Malaysia Globally, healthcare systems are being affected by the rapid, dynamic changes in advancements in biomedical science
- ACC116 Introduction To Cost Accounting Assignment, UiTM, Malaysia Limau Manis Sdn Bhd is a medium-sized company that manufactures a variety of pickles in the northern region of Malaysia
- DATA ANALYSIS Assignment, TU, Malaysia Develop RQ, RO, Hypothesis and Framework Data screening and data coding in excel and then SPSS based on the questionnaire given
- Imagine you own a pet grooming business. You want to use market research to identify how you can grow your business: Marketing management Assignment, SU, Malaysia
- XDCS2014: Java Programming Assignment, UOW, Malaysia You are required to create a GUI application that can be used by students to keep track of their GPA / CGPA based on their grades for each module at the end of each semester
- Leadership and Group Motivation Assignment, MMU, Malaysia Identify any business enterprise that you are familiar and discuss
- BPMM1013: Principles of Marketing Assignment, UUM, Malaysia What would you like to do to increase the average monthly revenues by more than 20%? Justify your choice
- Counseling Assignment, UM, Malaysia Seiring dengan era globalisasi sekarang, profesion perguruan memainkan peranan yang penting dalam
- GSGM7223 Organisational Development and Change Management Assignment, Malaysia