Lyft Interview Question

To implement a stack as a class