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
- FBF1163: Fundamentals of Programming Assignment, UCSI, Malaysia Presume that your class at UCSI finishes at 6:30 pm and you must travel 6 km to reach your home for dinner
- LAW 1020: Malaysian Legal System Course Work, IIUM, Malaysia Danny bought Levi’s jeans from Levi’s shop in Shah Alam, Selangor that specialized in selling goods of that description
- BMOM5203: Organization and Business Management Assignment, OUM, Malaysia Based on your reading of journal articles and books on leadership and your observation of the selected organization
- BAC305: The following are the statements of financial position for Jack Berhad and Jill Berhad as at 31 December 2022: Company Accounting Reporting Assignment, WOU, Malaysia
- MOS639: Occupational Safety and Health Assignment, AeU, Malaysia Mr. Butch Clas, HR Director for SEA and ANZ at Dow Chemical, found out how healthcare and wellbeing initiatives help
- Constitutional and Administrative Law Assignment, UOS, Malaysia The EC … is not fully independent of the Government. Its powers are limited and have not even been exercised as broadly as they might be
- BBMP1103: Given a matrix W, X and Y as below: a) The order of matrix W, X and Y: Mathematics For Management Assignment, OUM, Malaysia
- B99BP: Comparing how they can be used for rhGH production including discussion of the following elements: Bioprocessing Assignment, Malaysia
- HMEF5113: Statistics for Educational Research Assignment, OUM, Malaysia Dataset for Assignments 1 and 2 May 2023 Sav was extracted from an experimental research study that was undertaken
- Employee Mental Health Research Paper, MUM, Malaysia If employees’ well-being and mental health are not in stable position they are also not able to focus on their tasks