Optiver Interview Question

Design a circular buffer queue implementation.