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
- Finance Assignment, NUN, Malaysia It is 25 July 2022; you observe two treasury bills? What are the appropriate discount factors for 2 months and 8 months
- AC4012: Introduction to Financial Accounting Report, SC, Malaysia You are required to choose TWO listed companies from Bursa Malaysia with the annual report from 2014 onwards
- Advanced Financial Management Assignment, UUM, Malaysia Show an excellent description and discussion of issues and material with evidence of critical evaluation of issues and material
- FIN 358: Investment Management Assignment, UiTM, Malaysia Common stock and preferred stock differ significantly in several ways. Most holders of preferred stock
- Bachelor of Communication with Honours Assignment, OUM, Malaysia Identify and list the research objectives and Who is the target audience of the research
- Management Accounting Techniques Assignment, UTIM, Malaysia Capital Investment becomes a crucial investment decision in an uncertain economic environment needs to be made
- Statistics for Engineering Technology Case Study, UniKL, Malaysia What is the correlation coefficient of the linear regression equation? What does this tell you? Explain
- Curriculum Development Dissertation, UKM, Malaysia Curricula are defined at various levels, the state and classroom levels being the most well-known
- Networks and Networking Assignment, APU, Malaysia You are required to design and apply an IP addressing scheme for the topology shown for the Aman Resort network
- Human Resource Management Report, APU, Malaysia Each student is required to identify one organization that has a specialized Human Resource Department