How often is the queue empty?
A help desk holds up to people (those waiting plus the one being served). Each minute at most one thing happens: someone arrives (if there is room) with probability , or the person in service finishes and leaves (if anyone is present) with probability . These chances are the same at every level.
In the long run, what fraction of time is the queue empty (zero people)?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
How often is the charging station full?How often is the tiny lot full?How often are there no alarms?How often is the photo booth full?Reaching the finish square by coin flips
All questions →