LeetCode - Tree 總結 【updating】
Preorder, Inorder, Postorder and Level order Traversal
Construct Binary Tree from Preorder and Inorder Traversal
Construct Binary Tree from Inorder and Postorder Traversal
Construct Binary Tree from Preorder and Postorder Traversal [exist multiple solutions]
Binary Tree Preorder Traversal
Closest Binary Search Tree Value II [inorder]
Kth Smallest Element in a BST [inorder]
Binary Tree Level Order Traversal
Binary Tree Zigzag Level Order Traversal
Binary Tree Vertical Order Traversal
Binary Search Tree
Unique Binary Search Trees, II (construct the actual trees)
Recover Binary Search Tree
Convert Sorted List to Binary Search Tree
Lowest Common Ancestor
Lowest Common Ancestor of a Binary Search Tree
Lowest Common Ancestor of a Binary Tree
Serialize and Deserialize
Serialize and Deserialize Binary Tree
Serialize and Deserialize BST
Serialize and Deserialize N-ary Tree
Design
String
Construct String from Binary Tree
Contruct Binary Tree from String
Linked List
Flatten Binary Tree to Linked List
Convert Binary Search Tree to Sorted Doubly Linked List
Convert Sorted List to Binary Search Tree
Other
Balanced Binary Tree [depth of the tree]
Sum of Distance in Tree
Populating Next Right Pointers in Each Node, II
Merge Two Binary Trees
Count Univalue Subtrees
Kill Process