Sony Interview Question

Can you describe how you would implement a ring buffer?