Microsoft interview question

How to implement a circular queue?