Lecture Outline
- A stack is a last-in-first-out (LIFO) data structure
- A stack can use either an array or linked list to hold its data
- The push() method adds a new piece of data to the top of the stack
- The pop() removes the top element of the stack
Lecture Recording
Lecture Slides
Code