In this lab, you will implement some useful functions using stacks. In particular, you will write functions using stacks for the following purposes: Reverse a string. Check whether a string is a palindrome. Check whether parenthesis and brackets are balan
In this lab, you will implement some useful functions using stacks. In particular, you will write functions using stacks for the following purposes: Reverse a string. Check whether a string is a palindrome. Check whether parenthesis and brackets are balanced in a string. Reverse a string First, you will write a function that uses a […]
