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
- Tree242
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Greedy401
- Depth-First Search338
- Binary Search305
- Matrix267
- Breadth-First Search261
Asked on LeetCode
660 questions tagged Sorting or Tree · all time
- The Skyline ProblemhardArrayDivide and ConquerBinary Indexed TreeSegment Tree+49 companies
- Binary Tree Vertical Order TraversalmediumHash TableTreeDepth-First SearchBreadth-First Search+29 companies
- Kth Largest Element in a StreameasyTreeDesignBinary Search TreeHeap (Priority Queue)+29 companies
- Majority ElementeasyArrayHash TableDivide and ConquerSorting+29 companies
- Kth Smallest Element in a BSTmediumTreeDepth-First SearchBinary Search TreeBinary Tree9 companies
- HeatersmediumArrayTwo PointersBinary SearchSorting9 companies
- Path Sum IIImediumTreeDepth-First SearchBinary Tree9 companies
- Maximum Product of Three NumberseasyArrayMathSorting9 companies
- Largest NumbermediumArrayStringGreedySorting9 companies
- Symmetric TreeeasyTreeDepth-First SearchBreadth-First SearchBinary Tree9 companies
- Construct Binary Tree from Preorder and Inorder TraversalmediumArrayHash TableDivide and ConquerTree+19 companies
- Delete Node in a BSTmediumTreeBinary Search TreeBinary Tree9 companies
- Permutations IImediumArrayBacktrackingSorting9 companies
- Amount of Time for Binary Tree to Be InfectedmediumHash TableTreeDepth-First SearchBreadth-First Search+19 companies
- Path SumeasyTreeDepth-First SearchBreadth-First SearchBinary Tree9 companies
- Frequency of the Most Frequent ElementmediumArrayBinary SearchGreedySliding Window+28 companies
- Lowest Common Ancestor of a Binary Search TreemediumTreeDepth-First SearchBinary Search TreeBinary Tree+28 companies
- Meeting SchedulermediumArrayTwo PointersSorting8 companies
- Car FleetmediumArrayStackSortingMonotonic Stack8 companies
- Convert Sorted Array to Binary Search TreeeasyArrayDivide and ConquerTreeBinary Search Tree+18 companies
- Magnetic Force Between Two BallsmediumArrayBinary SearchSorting8 companies
- Boundary of Binary TreemediumTreeDepth-First SearchBinary Tree8 companies
- Sort Characters By FrequencymediumHash TableStringSortingHeap (Priority Queue)+28 companies
- Majority Element IImediumArrayHash TableSortingCounting+18 companies
- Maximum Width of Binary TreemediumTreeDepth-First SearchBreadth-First SearchBinary Tree8 companies
- Same TreeeasyTreeDepth-First SearchBreadth-First SearchBinary Tree8 companies
- Create Binary Tree From DescriptionsmediumArrayHash TableTreeBinary Tree8 companies
- H-IndexmediumArraySortingCounting Sort8 companies
- Put Marbles in BagshardArrayGreedySortingHeap (Priority Queue)8 companies
- Construct Binary Tree from Preorder and Postorder TraversalmediumArrayHash TableDivide and ConquerTree+18 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
- Subtree of Another TreeeasyTreeDepth-First SearchString MatchingBinary Tree+17 companies
- Contains Duplicate IIIhardArraySliding WindowSortingBucket Sort+17 companies
- Construct Quad TreemediumArrayDivide and ConquerTreeMatrix7 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
- Merge Two Binary TreeseasyTreeDepth-First SearchBreadth-First SearchBinary Tree7 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
- Balanced Binary TreeeasyTreeDepth-First SearchBinary Tree7 companies
- Russian Doll EnvelopeshardArrayBinary SearchDynamic ProgrammingSorting+17 companies
- Minimum Absolute DifferenceeasyArraySorting7 companies
- Binary Tree Inorder TraversaleasyStackTreeDepth-First SearchBinary Tree7 companies
- Sort ListmediumLinked ListTwo PointersDivide and ConquerSorting+17 companies
- Populating Next Right Pointers in Each Node IImediumLinked ListTreeDepth-First SearchBreadth-First Search+17 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.