Microsoft interview question

Queue with circular array