Tassat Group interview question

How do you implement a stack?