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.
- Sorting483
- Stack170
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Greedy401
- Depth-First Search338
- Binary Search305
- Matrix267
- Breadth-First Search261
Asked on LeetCode
592 questions tagged Stack or Sorting · all time
- Sum of Subarray MinimumsmediumArrayDynamic ProgrammingStackMonotonic Stack7 companies
- Binary Tree Inorder TraversaleasyStackTreeDepth-First SearchBinary Tree7 companies
- Sort ListmediumLinked ListTwo PointersDivide and ConquerSorting+17 companies
- Shortest Subarray to be Removed to Make Array SortedmediumArrayTwo PointersBinary SearchStack+17 companies
- Sum of Subarray RangesmediumArrayStackMonotonic Stack7 companies
- Boats to Save PeoplemediumArrayTwo PointersGreedySorting+17 companies
- Third Maximum NumbereasyArraySorting7 companies
- Smallest String With SwapsmediumArrayHash TableStringDepth-First Search+37 companies
- Brace ExpansionmediumStringBacktrackingStackBreadth-First Search+16 companies
- Maximum Total Damage With Spell CastingmediumArrayHash TableTwo PointersBinary Search+36 companies
- Smallest Subsequence of Distinct CharactersmediumStringStackGreedyMonotonic Stack6 companies
- Sort Array By ParityeasyArrayTwo PointersSorting6 companies
- Sort Array by Increasing FrequencyeasyArrayHash TableSorting6 companies
- Max Number of K-Sum PairsmediumArrayHash TableTwo PointersSorting6 companies
- Count the Number of Fair PairsmediumArrayTwo PointersBinary SearchSorting6 companies
- Minimum Area RectanglemediumArrayHash TableMathGeometry+16 companies
- Final Prices With a Special Discount in a ShopeasyArrayStackMonotonic Stack6 companies
- Remove Covered IntervalsmediumArraySorting6 companies
- Maximum GapmediumArraySortingBucket SortRadix Sort+16 companies
- 3Sum ClosestmediumArrayTwo PointersSorting6 companies
- Height CheckereasyArraySortingCounting SortBubble Sort6 companies
- Car PoolingmediumArraySortingHeap (Priority Queue)Simulation+16 companies
- Online Stock SpanmediumStackDesignMonotonic StackData Stream6 companies
- Max Sum of a Pair With Equal Sum of DigitsmediumArrayHash TableSortingHeap (Priority Queue)6 companies
- Maximum Units on a TruckeasyArrayGreedySorting6 companies
- Sort an ArraymediumArrayDivide and ConquerSortingHeap (Priority Queue)+46 companies
- Find All Duplicates in an ArraymediumArrayHash TableSorting6 companies
- Successful Pairs of Spells and PotionsmediumArrayTwo PointersBinary SearchSorting6 companies
- Number of Matching SubsequencesmediumArrayHash TableStringBinary Search+36 companies
- Assign CookieseasyArrayTwo PointersGreedySorting+16 companies
- Smallest Range Covering Elements from K ListshardArrayHash TableGreedySliding Window+26 companies
- Maximum Width RampmediumArrayTwo PointersStackMonotonic Stack6 companies
- Construct Binary Search Tree from Preorder TraversalmediumArrayStackTreeBinary Search Tree+26 companies
- Minimum Number of Arrows to Burst BalloonsmediumArrayGreedySorting6 companies
- IPOhardArrayGreedySortingHeap (Priority Queue)6 companies
- Intersection of Two Arrays IIeasyArrayHash TableTwo PointersBinary Search+16 companies
- Max Chunks To Make SortedmediumArrayStackGreedySorting+16 companies
- Lexicographically Minimum String After Removing StarsmediumHash TableStringStackGreedy+16 companies
- Binary Tree Postorder TraversaleasyStackTreeDepth-First SearchBinary Tree6 companies
- Parsing A Boolean ExpressionhardStringStackRecursion6 companies
- Find K-th Smallest Pair DistancehardArrayTwo PointersBinary SearchSorting6 companies
- Design a Stack With Increment OperationmediumArrayStackDesign5 companies
- Maximum Number of Visible PointshardArrayMathGeometrySliding Window+15 companies
- Brightest Position on StreetmediumArraySortingPrefix SumOrdered Set5 companies
- Invalid TransactionsmediumArrayHash TableStringSorting5 companies
- Make The String GreateasyStringStack5 companies
- Analyze User Website Visit PatternmediumArrayHash TableStringSorting5 companies
- Number of Perfect PairsmediumArrayMathTwo PointersSorting5 companies
- Divide Intervals Into Minimum Number of GroupsmediumArrayTwo PointersGreedySorting+25 companies
- Two Best Non-Overlapping EventsmediumArrayBinary SearchDynamic ProgrammingSorting+15 companies
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.