Stack Implementations

Time Complexity Analysis of Common Operations

Lecture Code

Let's redo Friday's code. We will introduce a class that we define ourselves, MyStack and an interface that we define ourselves, StackInterface. MyStack will implement StackInterface and use an array as the underlying data structure.