Pregunta de entrevista de Citadel Securities

implement ring buffer structure, write and read function