Microsoft interview question

Implement a queue