Your question is Design a Queue System. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
How can you design a queue
Asked in the engineering eligibility (principal) stage. Design question in the pre-onsite engineering eligibility round. Clarify whether the interviewer expects an in-memory data structure, a distributed work queue, or an ML-assisted queue, then explain the design, scale assumptions, correctness, and failure handling.