What is a Queue data structure, and when would you use it?
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Other
Overview: Asks you to define the queue data structure, describe its operations and what they cost, and explain when it fits a problem. Tests whether you can state its ordering rule, implement it with constant-time operations, and tell it apart from a stack or a priority queue.