Problems
Callback's own problems and the LeetCode questions companies have been asking, in one place — pick a category, then filter by company, frequency, status, difficulty, topic, and language.
- Queue56
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Sorting483
- Greedy401
- Depth-First Search338
- Binary Search305
- Matrix267
- Breadth-First Search261
Algorithms & Data Structures · Reassemble lines from arbitrary chunks, reading lazily.
Algorithms & Data Structures · Consume the oldest stock first and say which lots an order drew from — an implementation prompt with tie-break rules.
Algorithms & Data Structures · A queue of admitted timestamps per key: evict what aged out, admit while under the limit.
Algorithms & Data Structures · Chain iterables behind hasNext/next with a lookahead that skips the empty ones.
Dropped Requests Under Two Rules
Algorithms & Data Structures · One queue of accepted timestamps per rule; dropped requests never enter either.
Algorithms & Data Structures · Kahn's queue over course objects; a failed attempt goes to the back of the queue and its dependants stay locked until it passes.
Algorithms & Data Structures · A queue with an index pointer, a visited set marked on enqueue, neighbours in the order given.
Algorithms & Data Structures · Keep the newest m events in arrival order; a query counts over the prefix whose timestamps fit, which is small because m is.
Algorithms & Data Structures · Per-seller priority with FIFO ties, sellers taking turns in activation order, and VIP sellers taking up to two tasks per turn; the turn state has to survive between calls.
Asked on LeetCode
47 questions tagged Queue · all time
- Sliding Window MaximumhardArrayQueueSliding WindowHeap (Priority Queue)+219 companies
- Design Circular QueuemediumArrayLinked ListDesignQueue18 companies
- Design Hit CountermediumArrayBinary SearchDesignQueue+118 companies
- Flatten Nested List IteratormediumStackTreeDepth-First SearchDesign+213 companies
- Moving Average from Data StreameasyArrayDesignQueueData Stream9 companies
- Maximum Sum Circular SubarraymediumArrayDivide and ConquerDynamic ProgrammingQueue+19 companies
- First Unique Character in a StringeasyHash TableStringQueueCounting9 companies
- Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitmediumArrayQueueSliding WindowHeap (Priority Queue)+28 companies
- Implement Queue using StackseasyStackDesignQueue8 companies
- Number of Recent CallseasyDesignQueueData Stream8 companies
- Implement Stack using QueueseasyStackDesignQueue8 companies
- Design Snake GamemediumArrayHash TableDesignQueue+17 companies
- Find the Winner of the Circular GamemediumArrayMathRecursionQueue+17 companies
- Jump Game VImediumArrayDynamic ProgrammingQueueHeap (Priority Queue)+16 companies
- Time Needed to Buy TicketseasyArrayQueueSimulation6 companies
- Count Subarrays With Fixed BoundshardArrayQueueSliding WindowMonotonic Queue6 companies
- Minimum Operations to Make Binary Array Elements Equal to One ImediumArrayBit ManipulationQueueSliding Window+16 companies
- Shortest Subarray with Sum at Least KhardArrayBinary SearchQueueSliding Window+36 companies
- Dota2 SenatemediumStringGreedyQueue5 companies
- Number of People Aware of a SecretmediumDynamic ProgrammingQueueSimulation5 companies
- Design Circular DequemediumArrayLinked ListDesignQueue5 companies
- Continuous SubarraysmediumArrayQueueSliding WindowHeap (Priority Queue)+25 companies
- Number of Students Unable to Eat LuncheasyArrayStackQueueSimulation5 companies
- First Unique NumbermediumArrayHash TableDesignQueue+14 companies
- Reveal Cards In Increasing OrdermediumArrayQueueSortingSimulation4 companies
- Maximum Number of Tasks You Can AssignhardArrayTwo PointersBinary SearchGreedy+34 companies
- Count Partitions With Max-Min Difference at Most KmediumArrayDynamic ProgrammingQueueSliding Window+24 companies
- Zigzag IteratormediumArrayDesignQueueIterator3 companies
- Design Front Middle Back QueuemediumArrayLinked ListDesignQueue+23 companies
- Time Taken to Cross the DoorhardArrayQueueSimulation3 companies
- Find Maximum Non-decreasing Array LengthhardArrayBinary SearchDynamic ProgrammingStack+43 companies
- Minimum Number of K Consecutive Bit FlipshardArrayBit ManipulationQueueSliding Window+23 companies
- Maximize the Minimum Powered CityhardArrayBinary SearchGreedyQueue+23 companies
- Implement RoutermediumArrayHash TableBinary SearchDesign+23 companies
- Design Ride Sharing SystemmediumHash TableDesignQueueData Stream2 companies
- Longest Increasing Subsequence IIhardArrayDivide and ConquerDynamic ProgrammingBinary Indexed Tree+32 companies
- Count Non-Decreasing Subarrays After K OperationshardArrayStackSegment TreeQueue+32 companies
- Finding MK AveragehardDesignQueueHeap (Priority Queue)Data Stream+21 company
- Maximum Number of Robots Within BudgethardArrayBinary SearchQueueSliding Window+31 company
- Design an Array Statistics TrackerhardHash TableBinary SearchDesignQueue+31 company
- Lexicographically Maximum MEX ArrayhardArrayHash TableGreedyQueue1 company
- Max Value of EquationhardArrayQueueSliding WindowHeap (Priority Queue)+11 company
- Design Phone DirectorymediumArrayHash TableLinked ListDesign+11 company
- K Empty SlotshardArrayBinary Indexed TreeSegment TreeQueue+41 company
- Minimum Sum of Values by Dividing ArrayhardArrayBinary SearchDynamic ProgrammingBit Manipulation+21 company
- Constrained Subsequence SumhardArrayDynamic ProgrammingQueueSliding Window+21 company
- Count Prime-Gap Balanced SubarraysmediumArrayMathQueueSliding Window+21 company
Listings only — titles, difficulty, and tags link out to LeetCode. Imported from the leetcode-company-wise-problems snapshot dated 1 June 2025. Frequency is that dataset's own relative score within a company and time range.