Merge branch 'haiker2011-patch-ownInterview' of https://github.com/haiker2011/Interview-Notebook into haiker2011-patch-ownInterview
This commit is contained in:
commit
1b72a42820
@ -475,7 +475,7 @@ private TreeNode reConstructBinaryTree(int[] pre, int preL, int preR, int inL) {
|
||||
|
||||
```python
|
||||
# 返回构造的TreeNode根节点
|
||||
def reConstructBinaryTree(self, pre, tin):
|
||||
def reConstructBinaryTree(self, pre, tin):
|
||||
# write code here
|
||||
if not pre or not tin:
|
||||
return None
|
||||
|
Loading…
x
Reference in New Issue
Block a user