Pregunta de entrevista de LinkedIn

implement a concurrent read-write buffer.