Sumo Logic Interview Question

Implement a circular queue using array