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
- Binary Search Tree41
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Greedy401
- Depth-First Search338
- Binary Search305
- Matrix267
- Breadth-First Search261
Asked on LeetCode
484 questions tagged Binary Search Tree or Sorting · all time
- Car FleetmediumArrayStackSortingMonotonic Stack8 companies
- Convert Sorted Array to Binary Search TreeeasyArrayDivide and ConquerTreeBinary Search Tree+18 companies
- Magnetic Force Between Two BallsmediumArrayBinary SearchSorting8 companies
- Sort Characters By FrequencymediumHash TableStringSortingHeap (Priority Queue)+28 companies
- Majority Element IImediumArrayHash TableSortingCounting+18 companies
- H-IndexmediumArraySortingCounting Sort8 companies
- Put Marbles in BagshardArrayGreedySortingHeap (Priority Queue)8 companies
- Partition Array Into Two Arrays to Minimize Sum DifferencehardArrayTwo PointersBinary SearchDynamic Programming+57 companies
- Number of Distinct IslandsmediumArrayHash TableDepth-First SearchBreadth-First Search+47 companies
- Contains Duplicate IIIhardArraySliding WindowSortingBucket Sort+17 companies
- Unique Binary Search TreesmediumMathDynamic ProgrammingTreeBinary Search Tree+17 companies
- Single-Threaded CPUmediumArraySortingHeap (Priority Queue)7 companies
- Greatest Sum Divisible by ThreemediumArrayDynamic ProgrammingGreedySorting7 companies
- Shortest Unsorted Continuous SubarraymediumArrayTwo PointersStackGreedy+27 companies
- Binary Search Tree IteratormediumStackTreeDesignBinary Search Tree+27 companies
- Design A LeaderboardmediumHash TableDesignSorting7 companies
- Insert into a Binary Search TreemediumTreeBinary Search TreeBinary Tree7 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
- Recover Binary Search TreemediumTreeDepth-First SearchBinary Search TreeBinary Tree7 companies
- Third Maximum NumbereasyArraySorting7 companies
- Two Sum IV - Input is a BSTeasyHash TableTwo PointersTreeDepth-First Search+37 companies
- Smallest String With SwapsmediumArrayHash TableStringDepth-First Search+37 companies
- Convert Sorted List to Binary Search TreemediumLinked ListDivide and ConquerTreeBinary Search Tree+17 companies
- Brace ExpansionmediumStringBacktrackingStackBreadth-First Search+16 companies
- Maximum Total Damage With Spell CastingmediumArrayHash TableTwo PointersBinary Search+36 companies
- Closest Binary Search Tree ValueeasyBinary SearchTreeDepth-First SearchBinary Search Tree+16 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
- 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
- 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
- Construct Binary Search Tree from Preorder TraversalmediumArrayStackTreeBinary Search Tree+26 companies
- Minimum Number of Arrows to Burst BalloonsmediumArrayGreedySorting6 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.