Solutions for those exercises.
Multiple Choices
-
A stack is generally endowed with operations called…
- Pop
- Push
- Pull
- Peek
- Pounce
Exercises
- Suppose given an empty
Stack
object, and assume that we store the values 10 and 20 (in that order), and then remove one and insert 30. Draw the resulting stack, labelling explicitly the bottom and top of your stack.