Tassat Group Interview Question

How do you implement a stack?