Apple Interview Question

Write a circular queue class