A10 Networks interview question

implement ring queue by C