Index.com interview question

Implement a circular queue.