Pergunta de entrevista da empresa Sony

Can you describe how you would implement a ring buffer?