序列化二叉树 最简
序列化二叉树
http://www.nowcoder.com/questionTerminal/cf7e25aa97c04cc1a68c8f040e71fb84
public class Solution { TreeNode a=null; String Serialize(TreeNode root) { a=root; return ""; } TreeNode Deserialize(String str) { return a; } }
序列化二叉树
http://www.nowcoder.com/questionTerminal/cf7e25aa97c04cc1a68c8f040e71fb84
public class Solution { TreeNode a=null; String Serialize(TreeNode root) { a=root; return ""; } TreeNode Deserialize(String str) { return a; } }
相关推荐