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
- Minimize Connected Groups by Inserting IntervalmediumArrayBinary SearchSliding WindowSorting1 company
- Removing Minimum Number of Magic BeansmediumArrayGreedySortingEnumeration+11 company
- Query Kth Smallest Trimmed NumbermediumArrayStringDivide and ConquerSorting+31 company
- Minimize Rounding Error to Meet TargetmediumArrayMathStringGreedy+11 company
- Find the Sum of Subsequence PowershardArrayDynamic ProgrammingSorting1 company
- Beautiful Towers ImediumArrayStackMonotonic Stack1 company
- Beautiful Towers IImediumArrayStackMonotonic Stack1 company
- Maximum Number That Makes Result of Bitwise AND ZeromediumStringGreedySorting1 company
- Array With Elements Not Equal to Average of NeighborsmediumArrayGreedySorting1 company
- Minimum Absolute Sum DifferencemediumArrayBinary SearchSortingOrdered Set1 company
- Number of People That Can Be Seen in a GridmediumArrayStackMatrixMonotonic Stack1 company
- Minimum Number of Visited Cells in a GridhardArrayDynamic ProgrammingStackBreadth-First Search+41 company
- Sort the Jumbled NumbersmediumArraySorting1 company
- Sum of Total Strength of WizardshardArrayStackMonotonic StackPrefix Sum1 company
- Lexicographically Smallest Negated Permutation that Sums to TargetmediumArrayMathTwo PointersGreedy+11 company
- Find Longest Self-Contained SubstringhardHash TableStringSorting1 company
- Maximum Number of Potholes That Can Be FixedmediumStringGreedySorting1 company
- Maximum Number of Groups With Increasing LengthhardArrayMathBinary SearchGreedy+11 company
- Reduction Operations to Make the Array Elements EqualmediumArraySorting1 company
- Maximum Number of Books You Can TakehardArrayDynamic ProgrammingStackMonotonic Stack1 company
- Design an Expression Tree With Evaluate FunctionmediumArrayMathStackTree+21 company
- Average Height of Buildings in Each SegmentmediumArraySortingHeap (Priority Queue)Prefix Sum1 company
- Count Good SubarrayshardArrayStackBit ManipulationMonotonic Stack1 company
- Maximum Number of Intersections on the CharthardArrayHash TableMathBinary Indexed Tree+31 company
- Maximum Price to Fill a BagmediumArrayGreedySorting1 company
- Minimum Deletions to Make Array BeautifulmediumArrayStackGreedy1 company
- Minimum Rectangles to Cover PointsmediumArrayGreedySorting1 company
- GCD Sort of an ArrayhardArrayMathUnion-FindSorting+41 company
- Maximize Fixed Points After DeletionshardArrayBinary SearchSorting1 company
- Maximum Score of a Node SequencehardArrayGraph TheorySortingEnumeration1 company
- Binary Search Tree Iterator IImediumStackTreeDesignBinary Search Tree+21 company
- Maximize Y‑Sum by Picking a Triplet of Distinct X‑ValuesmediumArrayHash TableGreedySorting+11 company
- Maximum Bitwise AND After Increment OperationshardArrayGreedyBit ManipulationSorting1 company
- Minimum Sum of Four Digit Number After Splitting DigitseasyMathGreedySorting1 company
- Maximum Spending After Buying ItemshardArrayGreedySortingHeap (Priority Queue)+11 company
- Maximize the Profit as the SalesmanmediumArrayHash TableBinary SearchDynamic Programming+11 company
- Maximum Bags With Full Capacity of RocksmediumArrayGreedySorting1 company
- Maximum Consecutive Floors Without Special FloorsmediumArraySorting1 company
- Two Sum BSTsmediumTwo PointersBinary SearchStackTree+31 company
- Two Sum Less Than KeasyArrayTwo PointersBinary SearchSorting1 company
- Arithmetic SubarraysmediumArrayHash TableSorting1 company
- Longest Word in Dictionary through DeletingmediumArrayTwo PointersStringSorting1 company
- Closest RoomhardArrayBinary SearchSortingOrdered Set1 company
- Find Minimum Time to Finish All Jobs IImediumArrayGreedySorting1 company
- Find Number of Coins to Place in Tree NodeshardDynamic ProgrammingTreeDepth-First SearchSorting+21 company
- Maximum Median Sum of Subsequences of Size 3mediumArrayMathGreedySorting+11 company
- Maximum Number of Non-Overlapping SubstringshardHash TableStringGreedySorting1 company
- Minimum Number of KeypressesmediumHash TableStringGreedySorting+11 company
- Replace Question Marks in String to Minimize Its ValuemediumHash TableStringGreedySorting+21 company
- Groups of Special-Equivalent StringsmediumArrayHash TableStringSorting1 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.