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.
- Matrix267
- Tree242
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Sorting483
- Greedy401
- Depth-First Search338
- Binary Search305
- Breadth-First Search261
Asked on LeetCode
466 questions tagged Matrix or Tree · all time
- Symmetric TreeeasyTreeDepth-First SearchBreadth-First SearchBinary Tree9 companies
- Sparse Matrix MultiplicationmediumArrayHash TableMatrixLinear Algebra9 companies
- Construct Binary Tree from Preorder and Inorder TraversalmediumArrayHash TableDivide and ConquerTree+19 companies
- Pacific Atlantic Water FlowmediumArrayDepth-First SearchBreadth-First SearchMatrix9 companies
- Delete Node in a BSTmediumTreeBinary Search TreeBinary Tree9 companies
- Surrounded RegionsmediumArrayDepth-First SearchBreadth-First SearchUnion-Find+19 companies
- Amount of Time for Binary Tree to Be InfectedmediumHash TableTreeDepth-First SearchBreadth-First Search+19 companies
- Snakes and LaddersmediumArrayBreadth-First SearchMatrix9 companies
- Path SumeasyTreeDepth-First SearchBreadth-First SearchBinary Tree9 companies
- Candy CrushmediumArrayTwo PointersMatrixSimulation8 companies
- Lowest Common Ancestor of a Binary Search TreemediumTreeDepth-First SearchBinary Search TreeBinary Tree+28 companies
- Design Excel Sum FormulahardArrayHash TableStringGraph Theory+38 companies
- Flood FilleasyArrayDepth-First SearchBreadth-First SearchMatrix8 companies
- Convert Sorted Array to Binary Search TreeeasyArrayDivide and ConquerTreeBinary Search Tree+18 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
- Maximal RectanglehardArrayDynamic ProgrammingStackMatrix+18 companies
- Create Binary Tree From DescriptionsmediumArrayHash TableTreeBinary Tree8 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
- Number of Distinct IslandsmediumArrayHash TableDepth-First SearchBreadth-First Search+47 companies
- Subtree of Another TreeeasyTreeDepth-First SearchString MatchingBinary Tree+17 companies
- Construct Quad TreemediumArrayDivide and ConquerTreeMatrix7 companies
- Unique Binary Search TreesmediumMathDynamic ProgrammingTreeBinary Search Tree+17 companies
- Design SpreadsheetmediumArrayHash TableStringDesign+17 companies
- Rotating the BoxmediumArrayTwo PointersMatrix7 companies
- Sliding PuzzlehardArrayDynamic ProgrammingBacktrackingBreadth-First Search+57 companies
- Path With Minimum EffortmediumArrayBinary SearchDepth-First SearchBreadth-First Search+47 companies
- Merge Two Binary TreeseasyTreeDepth-First SearchBreadth-First SearchBinary Tree7 companies
- Binary Search Tree IteratormediumStackTreeDesignBinary Search Tree+27 companies
- Insert into a Binary Search TreemediumTreeBinary Search TreeBinary Tree7 companies
- Balanced Binary TreeeasyTreeDepth-First SearchBinary Tree7 companies
- Nearest Exit from Entrance in MazemediumArrayBreadth-First SearchMatrix7 companies
- Unique Paths IIIhardArrayBacktrackingBit ManipulationMatrix+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 Largest Value in Each Tree RowmediumTreeDepth-First SearchBreadth-First SearchBinary Tree7 companies
- Minimum Falling Path SummediumArrayDynamic ProgrammingMatrix7 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
- Two Sum IV - Input is a BSTeasyHash TableTwo PointersTreeDepth-First Search+37 companies
- Path Sum IImediumBacktrackingTreeDepth-First SearchBinary Tree7 companies
- Find Duplicate SubtreesmediumHash TableTreeDepth-First SearchBinary Tree7 companies
- Convert Sorted List to Binary Search TreemediumLinked ListDivide and ConquerTreeBinary Search Tree+17 companies
- Shortest Path to Get All KeyshardArrayBit ManipulationBreadth-First SearchMatrix6 companies
- Count Unguarded Cells in the GridmediumArrayMatrixSimulation6 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.