Stacks Group Activity
-
Given a string, check if it is a palindrome by using stacks methods only.
-
Given an input string consisting of brackets such as "{ ( ) } [ ]" write a function to check whether the orders of each respective pair of brackets are correct.
-
Given an input stack, reverse the stack using recursion.
-
Hint: This may require the use of a helper function.
-
Log at least 3 outputs with different test cases to the console for each problem.