Sumo Logic interview question

Implement a circular queue using array