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.
- Binary Search305
- Tree242
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Sorting483
- Greedy401
- Depth-First Search338
- Matrix267
- Breadth-First Search261
Asked on LeetCode
508 questions tagged Tree or Binary Search · all time
- 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
- 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
- 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
- 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
- Search in Rotated Sorted Array IImediumArrayBinary Search8 companies
- Swim in Rising WaterhardArrayBinary SearchDepth-First SearchBreadth-First Search+58 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
- Subtree of Another TreeeasyTreeDepth-First SearchString MatchingBinary Tree+17 companies
- Construct Quad TreemediumArrayDivide and ConquerTreeMatrix7 companies
- Maximum Length of Repeated SubarraymediumArrayBinary SearchDynamic ProgrammingSliding Window+27 companies
- Unique Binary Search TreesmediumMathDynamic ProgrammingTreeBinary Search Tree+17 companies
- Reverse PairshardArrayBinary SearchDivide and ConquerBinary Indexed Tree+47 companies
- Path With Minimum EffortmediumArrayBinary SearchDepth-First SearchBreadth-First Search+47 companies
- First Bad VersioneasyBinary SearchInteractive7 companies
- Merge Two Binary TreeseasyTreeDepth-First SearchBreadth-First SearchBinary Tree7 companies
- Binary Search Tree IteratormediumStackTreeDesignBinary Search Tree+27 companies
- Binary SearcheasyArrayBinary Search7 companies
- Peak Index in a Mountain ArraymediumArrayBinary SearchTernary Search7 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
- 132 PatternmediumArrayBinary SearchStackMonotonic Stack+17 companies
- Binary Tree Inorder TraversaleasyStackTreeDepth-First SearchBinary Tree7 companies
- Populating Next Right Pointers in Each Node IImediumLinked ListTreeDepth-First SearchBreadth-First Search+17 companies
- Find the Smallest Divisor Given a ThresholdmediumArrayBinary Search7 companies
- Shortest Subarray to be Removed to Make Array SortedmediumArrayTwo PointersBinary SearchStack+17 companies
- Find Largest Value in Each Tree RowmediumTreeDepth-First SearchBreadth-First SearchBinary Tree7 companies
- Invert Binary TreeeasyTreeDepth-First SearchBreadth-First SearchBinary Tree7 companies
- Recover Binary Search TreemediumTreeDepth-First SearchBinary Search TreeBinary Tree7 companies
- Serialize and Deserialize N-ary TreehardStringTreeDepth-First SearchBreadth-First Search7 companies
- Tree DiametermediumTreeDepth-First SearchBreadth-First SearchGraph Theory+27 companies
- Construct Binary Tree from Inorder and Postorder TraversalmediumArrayHash TableDivide and ConquerTree+17 companies
- Nth DigitmediumMathBinary Search7 companies
- Two Sum IV - Input is a BSTeasyHash TableTwo PointersTreeDepth-First Search+37 companies
- Path Sum IImediumBacktrackingTreeDepth-First SearchBinary Tree7 companies
- Longest Duplicate SubstringhardStringBinary SearchSliding WindowRolling Hash+67 companies
- Find Duplicate SubtreesmediumHash TableTreeDepth-First SearchBinary Tree7 companies
- Convert Sorted List to Binary Search TreemediumLinked ListDivide and ConquerTreeBinary Search Tree+17 companies
- House Robber IVmediumArrayBinary SearchDynamic ProgrammingGreedy6 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.