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
- EBB2334 Group Assignment: Statistical Data Analysis Using Descriptive and Inferential Techniques – Semester 1
- Testing and Evaluation Assignment: Distinguish the concepts and the types of measurement, evaluation and test.
- MCE604: Managerial Economics Assignment, AeU, Malaysia Mr. Rahim is planning to pursue MBA studies. Initial inquiry shows that he will have to pay RM 25,000 as a tuition fee
- Strategic Corporate Finance Assignment, HWU, Malaysia An investment business situated in Malaysia has just hired you to be a financial analyst on their investment team
- FA113: Financial Accounting 1 Assignment, RCC, Malaysia The following is the list of transactions for the month of January 2020 for Comfort Furniture a small furniture retailer
- V01.09.2024 Strategic Project Management & Implementation Unit 2 Assignment 1
- FIT3155: Advanced data structures and algorithms Assignment, MUM, Malaysia Write a program that implements a binary heap and binary search tree data structure to manage a list of job requests in a computer repair shop
- Finance Accounting and Management Assignment, UON, Malaysia Choose any three 3 accounting standards that you have learned in the class and discuss briefly those standards in regard to their recognition
- AC4012: Introduction to Financial Accounting Assignment, SC, Malaysia Identify any TWO stakeholders of the company who have decision-making power, and provide an example of a decision
- Supply Chain Management Assignment, APU, Malaysia Tesla Advances Its EVs by Rethinking Traditional Automotive Supply Chain Practices. Historically, the automobile industry