Microsoft Interview Question

Queue with circular array