Class Solution
- java.lang.Object
-
- g0101_0200.s0105_construct_binary_tree_from_preorder_and_inorder_traversal.Solution
-
public class Solution extends Object
-
-
Constructor Summary
Constructors Constructor Description Solution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeNode
buildTree(int[] preorder, int[] inorder)
int
get(int key)
-
-
-
Method Detail
-
get
public int get(int key)
-
buildTree
public TreeNode buildTree(int[] preorder, int[] inorder)
-
-