#主要是递归的思路 class Solution: ss = [] def Serialize(self, root): if root is None: return '#,' return str(root.val) +','+ self.Serialize(root.left) + self.Serialize(root.right) def Deserialize(self, s): if len(s)==0: return None if s[0]...