Problem
Implement a circular buffer in C, ensuring it is thread-safe for a single producer and single consumer.
Practicing as: Embedded Engineer interview at Annapurna Labs (U.S.)Hi, I'll play your Annapurna Labs (U.S.) interviewer for the Embedded Engineer role. Answer the question above like we're in the room, and I'll respond the way a real interviewer would.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.


