System design interview question
Design Custom Mutex / Semaphore
Implement a custom mutex and counting semaphore using low-level primitives.
Practice this question step by step with an AI interviewer that reviews your requirements, your architecture and your trade-offs, and scores the design.