Monday October 16th 2023
Lecture Outline
- We will now be importing Linked Lists using java.util.LinkedList
- 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