auto commit

This commit is contained in:
CyC2018
2018-03-17 10:38:31 +08:00
parent a2cf6fc9f9
commit 4adc68bfb3

View File

@ -335,7 +335,7 @@ Return the following binary tree:
**解题思路** **解题思路**
序遍历的第一个值为树根节点的值,使用这个值将序遍历结果分成两部分,左部分为树的左子树序遍历结果,右部分为树的右子树序遍历的结果。 序遍历的第一个值为树根节点的值,使用这个值将序遍历结果分成两部分,左部分为树的左子树序遍历结果,右部分为树的右子树序遍历的结果。
```java ```java
public TreeNode reConstructBinaryTree(int[] pre, int[] in) { public TreeNode reConstructBinaryTree(int[] pre, int[] in) {