Solutions for those exercises.

Multiple Choices

  1. A stack is generally endowed with operations called…

    • Pop
    • Push
    • Pull
    • Peek
    • Pounce

Exercises

  1. 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.