Question
For this project, you are to write a program that checks to see whether input strings are palindromes. A palindrome is a string which reads
For this project, you are to write a program that checks to see whether input strings are palindromes. A palindrome is a string which reads the same forward and backward. Your program should ignore spaces and punctuation, and shouldn't care about upper and lower case of letters. This can be done by reading the string, pushing each letter on both a stack and a queue, and then popping from both and comparing the letters (the queue will be in the original order, the stack in reverse order).
Do this with two classes (PalidromeChecker) and a driver program .
Use Java Stack and Java Queue. Examples of palindromes:
Madam, I'm Adam. A Toyota
You must use both a stack and a queue class for this project
o A Flow Chart diagram of a High Level Solution for the problem. (I just need the Flow Chart Diagram)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started