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
- Human Sciences in Communication Essay, UCISS, Malaysia In today’s global social media platforms such as Facebook, TikTok, YouTube, Twitter, Instagram, WhatsApp, Weibo, WeChat, Wikipedia, web sites, and blogs
- STA404: Statistics for Business and Social Sciences Assignment, UiTM, Malaysia A random sample of employees was selected from three different types of stores at the mall and their ages were recorded
- SQG2613: Research Methodology Research Paper, UTM, Malaysia Investigate current study trends based on the selected study areas related to Civil Engineering
- Project Management For IT Case Study, UiTM, Malaysia In his twelve years as a technology project manager at A&D High Tech, Chris Johnson had a strong track record of delivering projects
- Strategic Management Home Work, ASB, Malaysia You are going to operate a convenience store in the city you live selling only imported products from Korea
- Examine in detail the FOUR key roles played by guidance and counselling services: Guidance and Counselling Essay, MSU, Malaysia
- Business Strategy and Leadership Assignment, ASB, Malaysia Multiple problems confront an organization in a fiercely competitive business climate. This means that a company’s
- Psychology Research Paper, SU, Malaysia Digital Storytelling Products As Means To Increase Generativity Amongst Malaysian Educators In Middle Or Late Adulthood
- Unit 3 – International Marketing Management, Assignment, Malaysia
- Business Statistics Assignment, SU, Malaysia In statistics, there are dependent and independent variables. Dependent variables are so-called because