A collection of objects that can be pushed or popped from. Has:

  • Push operation
  • Pop operation
  • Size
  • Top of stack

Notation

Push

Will push onto the stack

Push Initial Symbol

$$0 : \epsilon \to $$$ Oftentime used so that we know when the stack is near empty

Pop

Will pop from the stack