Tree
37 solutions
- 0094 - Binary Tree Inorder Traversal (Easy)
- 0100 - Same Tree (Easy)
- 0102 - Binary Tree Level Order Traversal (Medium)
- 0103 - Binary Tree Zigzag Level Order Traversal (Medium)
- 0105 - Construct Binary Tree from Preorder and Inorder Traversal (Medium)
- 0112 - Path Sum (Easy)
- 0113 - Path Sum II (Medium)
- 0124 - Binary Tree Maximum Path Sum (Hard)
- 0129 - Sum Root to Leaf Numbers (Medium)
- 0144 - Binary Tree Preorder Traversal (Easy)
- 0145 - Binary Tree Postorder Traversal (Easy)
- 0226 - Invert Binary Tree (Easy)
- 0230 - Kth Smallest Element in a BST (Medium)
- 0235 - Lowest Common Ancestor of a Binary Search Tree (Medium)
- 0297 - Serialize and Deserialize Binary Tree (Hard)
- 0298 - Binary Tree Longest Consecutive Sequence (Medium)
- 0404 - Sum of Left Leaves (Easy)
- 0429 - N-ary Tree Level Order Traversal (Medium)
- 0437 - Path Sum III (Medium)
- 0501 - Find Mode in Binary Search Tree (Easy)
- 0508 - Most Frequent Subtree Sum (Medium)
- 0543 - Diameter of Binary Tree (Easy)
- 0606 - Construct String from Binary Tree (Easy)
- 0623 - Add One Row to Tree (Medium)
- 0637 - Average of Levels in Binary Tree (Easy)
- 0653 - Two Sum IV - Input is a BST (Easy)
- 0703 - Kth Largest Element in a Stream (Easy)
- 0814 - Binary Tree Pruning (Medium)
- 0987 - Vertical Order Traversal of a Binary Tree (Hard)
- 1372 - Longest ZigZag Path in a Binary Tree (Medium)
- 1443 - Minimum Time to Collect All Apples in a Tree (Medium)
- 1448 - Count Good Nodes in Binary Tree (Medium)
- 1457 - Pseudo-Palindromic Paths in a Binary Tree (Medium)
- 1519 - Number of Nodes in the Sub-Tree With the Same Label (Medium)
- 1916 - Count Ways to Build Rooms in an Ant Colony (Hard)
- 2421 - Number of Good Paths (Hard)
- 2477 - Minimum Fuel Cost to Report to the Capital (Medium)