Pergunta de entrevista da empresa Meta

Write a ring buffer in C to init and write and read