Skip to content

Commit 3e13946

Browse files
authored
Update binary_tree_serialization.py
1 parent 34b1739 commit 3e13946

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

binary_tree_serialization.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

@@ -60,4 +60,6 @@ def deserialize(self, data):
6060
new_level.append(node.right)
6161
i += 1
6262
level = new_level
63-
return root
63+
return root
64+
65+
# medium: http://lintcode.com/zh-cn/problem/binary-tree-serialization/

0 commit comments

Comments
 (0)