Microsoft interview question

Implement a stack