正在加载……
← 返回 amazon 的题目列表
Serialize and Deserialize Binary Tree
类型:online_judge
Given a binary tree, serialize it into a string, and then deserialize it back into a binary tree, returning the root node. Example Input 1,2,3,null,null,4,5 Output 1 2 3 4 5