Skip to content

Commit 80f3800

Browse files
authored
Update identical_binary_tree.py
1 parent 09fb6e7 commit 80f3800

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

identical_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
"""
@@ -12,4 +12,6 @@ def isIdentical(self, a, b):
1212
if a and b:
1313
if a.val == b.val:
1414
return self.isIdentical(a.left, b.left) and self.isIdentical(a.right, b.right)
15-
return False
15+
return False
16+
17+
# easy: http://lintcode.com/zh-cn/problem/identical-binary-tree/

0 commit comments

Comments
 (0)