Trees
Binary tree and BST problems.
- 93.Binary Trees and BSTs in Java
- 94.Find the Minimum Value in a BST
- 95.Find the kth Maximum Value in a BST
- 96.Find the Ancestors of a Node in a BST
- 97.Find the Height of a Binary Tree
- 98.Find Nodes at k Distance From the Root
- 99.Lowest Common Ancestor of a Binary Tree
- 100.Path Sum in a Binary Tree
- 101.Minimum Depth of a Binary Tree
- 102.Binary Tree Zigzag Level Order Traversal
- 103.Invert a Binary Tree
- 104.Flatten a Binary Tree to a Linked List
- 105.Diameter of a Binary Tree
- 106.All Nodes at Distance K in a Binary Tree
- 107.Merge Two Binary Trees
- 108.Convert a Sorted Array to a Balanced BST
- 109.Minimum Absolute Difference in a BST
- 110.Recover a Binary Search Tree
- 111.Merge Two BSTs Into a Sorted List
