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
- Alternative dispute resolution Essay, IIUM. Malaysia In Malaysia, there are two different types of mediation practices Firstly, mediation is available in the court
- MKT6205E: Marketing Management Case Study, IIU, Malaysia Nespresso was created in 1986 as a subsidiary of the Swiss group Nestlé. It was initially a supplier to the coffee
- Computational Method for Mechanical Engineers Assignment, MMU, Malaysia Figure 1 shows a two-dimensional, steady-state heat conduction with a heat source. Students are required to identify a suitable
- NBBS1313: Psychology and Sociology for Nurses Essay, OUM, Malaysia The purpose of this assignment is to discuss psychological and sociological studies’ influences on the health and well-being community
- Methodology Case Study, MUM, Malaysia In any industry, few organizations may face communication as a barrier to moving further, and also it can be difficult
- Managerial Economics Assignment, MUM, Malaysia Discuss the effects of each of the following on the value of the firm: A new advertising campaign increases
- MPU3412 COMMUNITY SERVICE OUM Assignment Example Malaysia Community service is an important activity to promote goodwill between the community and the environment.
- BBRC4103: Tahap pertama dalam penyelidikan ialah untuk mengenal pasti permasalahan atau isu-isu dalam perniagaan: Kaedah Penyelidikan Tugasan, OUM, Malaysia
- PGBM150: Innovation Entrepreneurship & Technology Transfer Report, SU, Malaysia The assessment has been specifically designed to accommodate the students varying commercial knowledge and understanding of module content
- Bachelor of Economics Assignment, HU, Malaysia Students are required to look through the given articles in HLMS and choose one of the topics which they are comfortable