Chapter 5: Stacks
Urns are not the only ball containers that we can use. Stacks are data structures used throughout computer science. They are, for instance, an integral part of the design of general purpose computers. You will see lots of stacks when you take computer organization and assembly language. This chapter introduces the elementary properties of stacks.