3 ms·
The problem with this method is starvation. If you treat a queue like a stack, and you have a steady stream of incoming people, the first person in the queue wi
by chrismcb 11y ago
The problem with this method is starvation. If you treat a queue like a stack, and you have a steady stream of incoming people, the first person in the queue will die of starvation before they are helped.