When would you use a queue?
Reveal the answer and explore the explanation.
06MediumWhen would you use a queue?
Answer
Medium
When would you use a queue?
Answer
First-in first-out abstract collection.
Practical example
Process breadth-first graph traversal.
Reference: Further reading ↗