Write the code to test the queue class by determining if


Please help me in writing the code to test the stack class, and enhancing and testing the queue class.

1. Test the stack class by determining if the following strings have matching open and closing () and/or {} and/or [] :
()
[](){}
[{()}]
[[))
{()[()]}

The fourth one is the only one that should not have matching pairs.

2. Please complete the Queue class including following functions:
enqueue
dequeue
front
size

Write the code to test the queue class by determining if the following strings are char-by-char palindromes:
ABCDEDCBA
NOTAPALINDROME
ISPALINILAPASI
2A3MEAS
ATOYOTA
(({}[][]{}((

Please refer to the attached files to use for the input.


Attachment:- StackStr.zip

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Write the code to test the queue class by determining if
Reference No:- TGS01245945

Now Priced at $20 (50% Discount)

Recommended (93%)

Rated (4.5/5)