Microsoft Interview Question

Write the functions for a circular queue.