Capital One interview question

Create a stack that we can add to and pop off