Reversing Strings Mini-Lab


One simple use of stacks is to reverse the order of a collection of items. This Mini-Lab will give you a chance to practice with stacks by reversing the order of strings.


Alternative: Nested Parentheses Mini-Lab


Another good use of stacks is to check for balanced matching items, like parentheses.