Test the stack class by determining if the given strings have matching open and closing () and/or {} and/or []. Write the code to test the queue class by determining if the given strings are char-by-char palindromes.
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