Trees problems
Traversing and reasoning about hierarchical, branching structures.
- Invert Binary Tree (Easy)
- Maximum Depth of Binary Tree (Easy)
- Diameter of Binary Tree (Easy)
- Balanced Binary Tree (Easy)
- Same Tree (Easy)
- Subtree of Another Tree (Easy)
- Binary Tree Level Order Traversal (Medium)
- Binary Tree Right Side View (Medium)
- Lowest Common Ancestor of a Binary Search Tree (Medium)
- Count Good Nodes in Binary Tree (Medium)
- Validate Binary Search Tree (Medium)
- Kth Smallest Element in a BST (Medium)
- Construct Binary Tree from Preorder and Inorder Traversal (Medium)
- Binary Tree Maximum Path Sum (Hard)
- Serialize and Deserialize Binary Tree (Hard)