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
- Greedy401
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Depth-First Search338
- Binary Search305
- Matrix267
- Breadth-First Search261
- Tree242
Asked on LeetCode
676 questions tagged Greedy or Sorting · all time
- Majority ElementeasyArrayHash TableDivide and ConquerSorting+29 companies
- HeatersmediumArrayTwo PointersBinary SearchSorting9 companies
- Can Place FlowerseasyArrayGreedy9 companies
- Maximum Product of Three NumberseasyArrayMathSorting9 companies
- Largest NumbermediumArrayStringGreedySorting9 companies
- Permutations IImediumArrayBacktrackingSorting9 companies
- Frequency of the Most Frequent ElementmediumArrayBinary SearchGreedySliding Window+28 companies
- Meeting SchedulermediumArrayTwo PointersSorting8 companies
- Remove Duplicate LettersmediumStringStackGreedyMonotonic Stack8 companies
- Car FleetmediumArrayStackSortingMonotonic Stack8 companies
- Magnetic Force Between Two BallsmediumArrayBinary SearchSorting8 companies
- Sort Characters By FrequencymediumHash TableStringSortingHeap (Priority Queue)+28 companies
- Majority Element IImediumArrayHash TableSortingCounting+18 companies
- Best Time to Buy and Sell Stock with Transaction FeemediumArrayDynamic ProgrammingGreedy8 companies
- H-IndexmediumArraySortingCounting Sort8 companies
- Put Marbles in BagshardArrayGreedySortingHeap (Priority Queue)8 companies
- Rearranging FruitshardArrayHash TableGreedySort8 companies
- Minimum Operations to Reduce an Integer to 0mediumDynamic ProgrammingGreedyBit Manipulation7 companies
- Partition Array Into Two Arrays to Minimize Sum DifferencehardArrayTwo PointersBinary SearchDynamic Programming+57 companies
- Using a Robot to Print the Lexicographically Smallest StringmediumHash TableStringStackGreedy7 companies
- Number of Distinct IslandsmediumArrayHash TableDepth-First SearchBreadth-First Search+47 companies
- Contains Duplicate IIIhardArraySliding WindowSortingBucket Sort+17 companies
- Minimum Number of Refueling StopshardArrayDynamic ProgrammingGreedyHeap (Priority Queue)7 companies
- Single-Threaded CPUmediumArraySortingHeap (Priority Queue)7 companies
- Maximum SwapmediumMathGreedy7 companies
- Greatest Sum Divisible by ThreemediumArrayDynamic ProgrammingGreedySorting7 companies
- Shortest Unsorted Continuous SubarraymediumArrayTwo PointersStackGreedy+27 companies
- Furthest Building You Can ReachmediumArrayGreedyHeap (Priority Queue)7 companies
- Design A LeaderboardmediumHash TableDesignSorting7 companies
- Valid Triangle NumbermediumArrayTwo PointersBinary SearchGreedy+17 companies
- Russian Doll EnvelopeshardArrayBinary SearchDynamic ProgrammingSorting+17 companies
- Minimum Absolute DifferenceeasyArraySorting7 companies
- Sort ListmediumLinked ListTwo PointersDivide and ConquerSorting+17 companies
- Boats to Save PeoplemediumArrayTwo PointersGreedySorting+17 companies
- Third Maximum NumbereasyArraySorting7 companies
- Smallest String With SwapsmediumArrayHash TableStringDepth-First Search+37 companies
- Maximum 69 NumbereasyMathGreedy6 companies
- House Robber IVmediumArrayBinary SearchDynamic ProgrammingGreedy6 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
- Group the People Given the Group Size They Belong TomediumArrayHash TableGreedy6 companies
- Minimum Area RectanglemediumArrayHash TableMathGeometry+16 companies
- Couples Holding HandshardGreedyDepth-First SearchBreadth-First SearchUnion-Find+16 companies
- Remove Covered IntervalsmediumArraySorting6 companies
- Longest Palindrome by Concatenating Two Letter WordsmediumArrayHash TableStringGreedy+16 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.