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.
- Tree242
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Sorting483
- Greedy401
- Depth-First Search338
- Binary Search305
- Matrix267
- Breadth-First Search261
Asked on LeetCode
224 questions tagged Tree · all time
- Find Mode in Binary Search TreeeasyTreeDepth-First SearchBinary Search TreeBinary Tree4 companies
- Convert BST to Greater TreemediumTreeDepth-First SearchBinary Search TreeBinary Tree4 companies
- Serialize and Deserialize BSTmediumStringTreeDepth-First SearchBreadth-First Search+34 companies
- Sum of Root To Leaf Binary NumberseasyTreeDepth-First SearchBinary Tree4 companies
- Minimum Score After Removals on a TreehardArrayBit ManipulationTreeDepth-First Search4 companies
- Binary Tree PruningmediumTreeDepth-First SearchBinary Tree4 companies
- Leaf-Similar TreeseasyTreeDepth-First SearchBinary Tree4 companies
- Print Binary TreemediumTreeDepth-First SearchBreadth-First SearchBinary Tree4 companies
- Linked List in Binary TreemediumLinked ListTreeDepth-First SearchBinary Tree4 companies
- Closest Binary Search Tree Value IIhardTwo PointersStackTreeDepth-First Search+33 companies
- Closest Leaf in a Binary TreemediumTreeDepth-First SearchBreadth-First SearchBinary Tree3 companies
- Second Minimum Node In a Binary TreeeasyTreeDepth-First SearchBinary Tree3 companies
- Univalued Binary TreeeasyTreeDepth-First SearchBreadth-First SearchBinary Tree3 companies
- Number of Good Leaf Nodes PairsmediumTreeDepth-First SearchBinary TreeDP on Trees3 companies
- Longest Univalue PathmediumTreeDepth-First SearchBinary TreeDP on Trees3 companies
- Verify Preorder Sequence in Binary Search TreemediumArrayStackTreeBinary Search Tree+33 companies
- Minimum Time to Collect All Apples in a TreemediumHash TableTreeDepth-First SearchBreadth-First Search+13 companies
- Height of Binary Tree After Subtree Removal QuerieshardArrayTreeDepth-First SearchBreadth-First Search+13 companies
- Kill ProcessmediumArrayHash TableTreeDepth-First Search+13 companies
- Diameter of N-Ary TreemediumTreeDepth-First SearchDP on Trees3 companies
- Even Odd TreemediumTreeBreadth-First SearchBinary Tree3 companies
- Minimum Absolute Difference in BSTeasyTreeDepth-First SearchBreadth-First SearchBinary Search Tree+13 companies
- Maximum Difference Between Node and AncestormediumTreeDepth-First SearchBinary Tree3 companies
- Most Frequent Subtree SummediumHash TableTreeDepth-First SearchBinary Tree+13 companies
- Maximum Number of K-Divisible ComponentshardTreeDepth-First Search3 companies
- Validate Binary Tree NodesmediumTreeDepth-First SearchBreadth-First SearchUnion-Find+23 companies
- Flip Equivalent Binary TreesmediumTreeDepth-First SearchBinary Tree3 companies
- Number of Good PathshardArrayHash TableTreeUnion-Find+23 companies
- Delete Leaves With a Given ValuemediumTreeDepth-First SearchBinary Tree3 companies
- Find Root of N-Ary TreemediumHash TableBit ManipulationTreeDepth-First Search3 companies
- Binary Tree Longest Consecutive Sequence IImediumTreeDepth-First SearchBinary TreeDP on Trees3 companies
- Minimum Distance Between BST NodeseasyTreeDepth-First SearchBreadth-First SearchBinary Search Tree+13 companies
- Complete Binary Tree InsertermediumTreeBreadth-First SearchDesignBinary Tree3 companies
- N-ary Tree Postorder TraversaleasyStackTreeDepth-First Search3 companies
- Number of Ways to Assign Edge Weights IIhardArrayMathDynamic ProgrammingBit Manipulation+23 companies
- Merge BSTs to Create Single BSThardArrayHash TableTreeDepth-First Search+23 companies
- N-ary Tree Level Order TraversalmediumTreeBreadth-First Search3 companies
- Throne InheritancemediumHash TableTreeDepth-First SearchDesign2 companies
- Maximum Depth of N-ary TreeeasyTreeDepth-First SearchBreadth-First Search2 companies
- Binary Tree Upside DownmediumTreeDepth-First SearchBinary Tree2 companies
- Count Nodes With the Highest ScoremediumArrayTreeDepth-First SearchBinary Tree+12 companies
- Construct Binary Tree from StringmediumStringStackTreeDepth-First Search+12 companies
- Deepest Leaves SummediumTreeDepth-First SearchBreadth-First SearchBinary Tree2 companies
- Binary Search Tree to Greater Sum TreemediumTreeDepth-First SearchBinary Search TreeBinary Tree2 companies
- Maximize Sum of Weights after Edge RemovalshardDynamic ProgrammingTreeDepth-First SearchSorting2 companies
- Largest BST SubtreemediumDynamic ProgrammingTreeDepth-First SearchBinary Search Tree+22 companies
- Clone Binary Tree With Random PointermediumHash TableTreeDepth-First SearchBreadth-First Search+12 companies
- Cousins in Binary Tree IImediumHash TableTreeDepth-First SearchBreadth-First Search+12 companies
- Minimum Number of Operations to Sort a Binary Tree by LevelmediumTreeBreadth-First SearchBinary Tree2 companies
- Sum of Nodes with Even-Valued GrandparentmediumTreeDepth-First SearchBreadth-First SearchBinary Tree2 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.