Sony interview question

Can you describe how you would implement a ring buffer?