Skip to interview prep
Apexed

83. A fictional queue starts with 20 requests. Exactly 12 arrive per hour and 15 are completed per hour for two hours, with no interruptions and enough queued work. How many remain?

MediumSituational & STAR

Case
Show model answer

The ending queue is 20 plus 24 arrivals minus 30 completions, leaving 14 requests. The stated starting backlog keeps work available throughout this deterministic two-hour model.

Explain the assumptions rather than treating an average rate as a guarantee in a real service. If arrivals, processing, eligibility, or interruptions vary, the simple balance still guides reconciliation but no longer establishes this exact future count.

What interviewers listen for

  • Calculate 20+2×12−2×15=14
  • Check that work remains available
  • Keep exact fictional rates separate from real uncertainty
A fictional queue starts with 20 requests. Exactly 12 arrive per hour and 15 are completed per hour for two hours, with no interruptions and enough queued work.