Exercises for Chapter #8 of A Common-Sense Guide To Data Structures and Algorithms

Get The Book!Describe the steps that occur when we add the numbers 5, 3, 9, 2, 8 to a stack and then remove each number from the stack.

Describe the steps that occur when we add the numbers 5, 3, 9, 2, 8 to a queue and then remove each number from the queue.

In your favorite programming language, use a stack to implement an algorithm that reverses a string.