Index.com Interview Question

Implement a circular queue.