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.
- Ordered Set68
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Sorting483
- Greedy401
- Depth-First Search338
- Binary Search305
- Matrix267
- Breadth-First Search261
Algorithms & Data Structures · A heap cannot update a key — push the new entry and discard stale ones at pop time.
Algorithms & Data Structures · Half-open intervals per room, only neighbours can clash — and check-then-book must be one atomic step.
Key-Value Store With Prefix Scan
Algorithms & Data Structures · A hash map for the point operations and a sorted key list for the scan — agree the smallest version, then extend.
Session Manager With Sliding Expiry
Algorithms & Data Structures · Unique tokens, validation that pushes the expiry forward, explicit revocation and an O(n) cleanup; an LRU cache with time as the key.
Asked on LeetCode
64 questions tagged Ordered Set · all time
- Block Placement QuerieshardArrayBinary SearchBinary Indexed TreeSegment Tree+110 companies
- My Calendar ImediumArrayBinary SearchDesignSegment Tree+110 companies
- The Skyline ProblemhardArrayDivide and ConquerBinary Indexed TreeSegment Tree+49 companies
- Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitmediumArrayQueueSliding WindowHeap (Priority Queue)+28 companies
- Maximum Frequency StackhardHash TableStackDesignOrdered Set8 companies
- Max StackhardLinked ListStackDesignDoubly-Linked List+17 companies
- Partition Array Into Two Arrays to Minimize Sum DifferencehardArrayTwo PointersBinary SearchDynamic Programming+57 companies
- Contains Duplicate IIIhardArraySliding WindowSortingBucket Sort+17 companies
- Reverse PairshardArrayBinary SearchDivide and ConquerBinary Indexed Tree+47 companies
- 132 PatternmediumArrayBinary SearchStackMonotonic Stack+17 companies
- Stock Price FluctuationmediumHash TableDesignHeap (Priority Queue)Data Stream+16 companies
- Minimum Absolute Difference Between Elements With ConstraintmediumArrayBinary SearchOrdered Set6 companies
- Smallest Number in Infinite SetmediumHash TableDesignHeap (Priority Queue)Ordered Set6 companies
- Brightest Position on StreetmediumArraySortingPrefix SumOrdered Set5 companies
- Power Grid MaintenancemediumArrayHash TableDepth-First SearchBreadth-First Search+45 companies
- Range ModulehardDesignSegment TreeOrdered Set5 companies
- Exam RoommediumDesignHeap (Priority Queue)Ordered Set5 companies
- Count of Smaller Numbers After SelfhardArrayBinary SearchDivide and ConquerBinary Indexed Tree+45 companies
- Continuous SubarraysmediumArrayQueueSliding WindowHeap (Priority Queue)+25 companies
- Design Task ManagermediumHash TableDesignHeap (Priority Queue)Ordered Set5 companies
- Minimum Pair Removal to Sort Array IeasyArrayHash TableLinked ListHeap (Priority Queue)+35 companies
- Design Log Storage SystemmediumHash TableStringDesignOrdered Set4 companies
- Find Servers That Handled Most Number of RequestshardArrayHeap (Priority Queue)SimulationOrdered Set4 companies
- Count Integers in IntervalshardDesignSegment TreeOrdered Set4 companies
- Number of Flowers in Full BloomhardArrayHash TableBinary SearchSorting+24 companies
- Design a Food Rating SystemmediumArrayHash TableStringDesign+24 companies
- Fruits Into Baskets IIeasyArrayBinary SearchSegment TreeSimulation+14 companies
- Fruits Into Baskets IIImediumArrayBinary SearchSegment TreeOrdered Set4 companies
- Longest Substring of One Repeating CharacterhardArrayStringSegment TreeOrdered Set4 companies
- Tweet Counts Per FrequencymediumHash TableStringBinary SearchDesign+23 companies
- My Calendar IImediumArrayBinary SearchDesignSegment Tree+23 companies
- Count of Range SumhardArrayBinary SearchDivide and ConquerBinary Indexed Tree+43 companies
- Max Sum of Rectangle No Larger Than KhardArrayBinary SearchMatrixPrefix Sum+13 companies
- Number of Pairs Satisfying InequalityhardArrayBinary SearchDivide and ConquerBinary Indexed Tree+33 companies
- Minimum Pair Removal to Sort Array IIhardArrayHash TableLinked ListHeap (Priority Queue)+33 companies
- Minimum Operations to Equalize Binary StringhardMathStringBreadth-First SearchUnion-Find+13 companies
- Count Good Triplets in an ArrayhardArrayBinary SearchDivide and ConquerBinary Indexed Tree+33 companies
- Implement RoutermediumArrayHash TableBinary SearchDesign+23 companies
- Most Frequent IDsmediumArrayHash TableHeap (Priority Queue)Ordered Set2 companies
- Odd Even JumphardArrayDynamic ProgrammingStackSorting+22 companies
- Random Point in Non-overlapping RectanglesmediumArrayMathBinary SearchReservoir Sampling+32 companies
- Amount of New Area Painted Each DayhardArraySegment TreeOrdered Set2 companies
- Data Stream as Disjoint IntervalshardHash TableBinary SearchUnion-FindDesign+22 companies
- Falling SquareshardArraySegment TreeOrdered Set1 company
- Maximum Increasing Triplet ValuemediumArrayOrdered Set1 company
- Minimum Absolute Sum DifferencemediumArrayBinary SearchSortingOrdered Set1 company
- Design Event ManagermediumArrayHash TableDesignHeap (Priority Queue)+11 company
- Finding MK AveragehardDesignQueueHeap (Priority Queue)Data Stream+21 company
- Design a Number Container SystemmediumHash TableDesignHeap (Priority Queue)Ordered Set1 company
- Design an Array Statistics TrackerhardHash TableBinary SearchDesignQueue+31 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.