题目有漏洞
序列化二叉树
https://www.nowcoder.com/practice/cf7e25aa97c04cc1a68c8f040e71fb84
# -*- coding:utf-8 -*- import queue # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: result = [] def Serialize(self, root): # write code here return root def Deserialize(self, s): # write code here return s