Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions