Question: Purpose and Project Description: The purpose for this project is to reinforce the knowledge from Chapter 5 of the online course textbook ( zyBooks )
Purpose and Project Description:
The purpose for this project is to reinforce the knowledge from Chapter of the online course
textbook zyBooks Students will practice how to implement stack and queue data structures
using list ADT; for instance, ArrayList. Students will also apply a stack and a queue in practical
implementation; for instance, to check if a string is a palindrome or not. The implementation
can be done in either Java or C programming language.
Tasks:
Use ArrayList to implement MyStack class which define the data structure that
has LastInFirstOut property points
Use ArrayList to implement MyQueue class which define the data structure that
has FirstInFirstOut property points
Write a function public static Boolean isPalindrome String sentence points
This function returns true if sentence is a palindrome; false otherwise.
Provided Template files:
Three template files are given in either Java or Cthat is CSCIProjectTwo, MyStack and
MyQueue Students should add necessary comments to all files and implement all
functionalities in the given files. No extra functions can be added. No function name can
be changed. Do not modify the contents of the main method in CSCIProjectTwo file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
