Pregunta de entrevista de Sony

Can you describe how you would implement a ring buffer?