practice a little every day — you've got this ♡
Stacks & Queues Interview Problems
Practice 5969 original coding, SQL, system design, machine learning and behavioral problems across 15 topics. Coding and SQL problems run against hidden test cases right in your browser; every problem has hints and a worked solution, free.
- 5969
- Problems
- 2211
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 91–93 of 93 results
- Stacks & QueuesMediumAuto-gradedSimulate a Printer Queue with Priority Levels
Tests queue simulation by processing print jobs where higher-priority jobs preempt lower-priority ones, requiring candidates to track position and reorder the queue correctly.
Stacks & Queuesqueuesimulationgreedy - Stacks & QueuesHardAuto-gradedValidate Nested Expressions with Typed Bracket Scopes
Tests bracket matching with complex rules: typed pairs, mandatory ordered sub-structure inside scopes, and precedence-aware nesting constraints.
Stacks & Queuesstacksbracket matchingparsingsimulation - Stacks & QueuesEasyAuto-gradedSimulate a Cafeteria Serving Queue
Tests the ability to simulate a round-robin service queue where customers cycle back if unserved, tracking when each customer is finally served.
Stacks & Queuesqueuesimulationdata structures