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.
- Greedy401
- Binary Search305
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Sorting483
- Depth-First Search338
- Matrix267
- Breadth-First Search261
- Tree242
Asked on LeetCode
630 questions tagged Greedy or Binary Search · all time
- Remove Duplicate LettersmediumStringStackGreedyMonotonic Stack8 companies
- Magnetic Force Between Two BallsmediumArrayBinary SearchSorting8 companies
- Best Time to Buy and Sell Stock with Transaction FeemediumArrayDynamic ProgrammingGreedy8 companies
- Put Marbles in BagshardArrayGreedySortingHeap (Priority Queue)8 companies
- Search in Rotated Sorted Array IImediumArrayBinary Search8 companies
- Rearranging FruitshardArrayHash TableGreedySort8 companies
- Swim in Rising WaterhardArrayBinary SearchDepth-First SearchBreadth-First Search+58 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
- Maximum Length of Repeated SubarraymediumArrayBinary SearchDynamic ProgrammingSliding Window+27 companies
- Minimum Number of Refueling StopshardArrayDynamic ProgrammingGreedyHeap (Priority Queue)7 companies
- Reverse PairshardArrayBinary SearchDivide and ConquerBinary Indexed Tree+47 companies
- Maximum SwapmediumMathGreedy7 companies
- Greatest Sum Divisible by ThreemediumArrayDynamic ProgrammingGreedySorting7 companies
- Path With Minimum EffortmediumArrayBinary SearchDepth-First SearchBreadth-First Search+47 companies
- Shortest Unsorted Continuous SubarraymediumArrayTwo PointersStackGreedy+27 companies
- First Bad VersioneasyBinary SearchInteractive7 companies
- Binary SearcheasyArrayBinary Search7 companies
- Peak Index in a Mountain ArraymediumArrayBinary SearchTernary Search7 companies
- Furthest Building You Can ReachmediumArrayGreedyHeap (Priority Queue)7 companies
- Valid Triangle NumbermediumArrayTwo PointersBinary SearchGreedy+17 companies
- Russian Doll EnvelopeshardArrayBinary SearchDynamic ProgrammingSorting+17 companies
- 132 PatternmediumArrayBinary SearchStackMonotonic Stack+17 companies
- Find the Smallest Divisor Given a ThresholdmediumArrayBinary Search7 companies
- Shortest Subarray to be Removed to Make Array SortedmediumArrayTwo PointersBinary SearchStack+17 companies
- Boats to Save PeoplemediumArrayTwo PointersGreedySorting+17 companies
- Nth DigitmediumMathBinary Search7 companies
- Longest Duplicate SubstringhardStringBinary SearchSliding WindowRolling Hash+67 companies
- Maximum 69 NumbereasyMathGreedy6 companies
- House Robber IVmediumArrayBinary SearchDynamic ProgrammingGreedy6 companies
- Minimum Absolute Difference Between Elements With ConstraintmediumArrayBinary SearchOrdered Set6 companies
- Maximum Total Damage With Spell CastingmediumArrayHash TableTwo PointersBinary Search+36 companies
- Smallest Subsequence of Distinct CharactersmediumStringStackGreedyMonotonic Stack6 companies
- Closest Binary Search Tree ValueeasyBinary SearchTreeDepth-First SearchBinary Search Tree+16 companies
- Search Insert PositioneasyArrayBinary Search6 companies
- Kth Missing Positive NumbereasyArrayBinary Search6 companies
- Count the Number of Fair PairsmediumArrayTwo PointersBinary SearchSorting6 companies
- Group the People Given the Group Size They Belong TomediumArrayHash TableGreedy6 companies
- Couples Holding HandshardGreedyDepth-First SearchBreadth-First SearchUnion-Find+16 companies
- Longest Palindrome by Concatenating Two Letter WordsmediumArrayHash TableStringGreedy+16 companies
- Find Smallest Letter Greater Than TargeteasyArrayBinary Search6 companies
- Valid Perfect SquareeasyMathBinary Search6 companies
- Construct K Palindrome StringsmediumHash TableStringGreedyCounting6 companies
- Minimum Number of Days to Make m BouquetsmediumArrayBinary Search6 companies
- Maximum Units on a TruckeasyArrayGreedySorting6 companies
- Sum of Square NumbersmediumMathTwo PointersBinary Search6 companies
- Shortest Subarray with Sum at Least KhardArrayBinary SearchQueueSliding Window+36 companies
- Successful Pairs of Spells and PotionsmediumArrayTwo PointersBinary SearchSorting6 companies
- Count Complete Tree NodesmediumBinary SearchBit ManipulationTreeBinary Tree6 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.