AMD interview question

Implement a circular buffer using other data structures