Skip to content

Commit c8bf39c

Browse files
authored
Update clone_binary_tree.py
1 parent bfead64 commit c8bf39c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clone_binary_tree.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- coding: utf-8 -*-
1+
# coding: utf-8
22

33
class Solution:
44
"""
@@ -14,4 +14,6 @@ def cloneTree(self, root):
1414
new_root.left = self.cloneTree(root.left)
1515
if root.right:
1616
new_root.right = self.cloneTree(root.right)
17-
return new_root
17+
return new_root
18+
19+
# easy: http://lintcode.com/zh-cn/problem/clone-binary-tree/

0 commit comments

Comments
 (0)