F5 interview question

How to implement circular queue