方法2: DFS. Recursive. 需要一点思考。basically divide and conquer. 但是代码相对来说短。 Design an algorithm and write code to serialize and deserialize a binary tree. Writing the tree to a file is called 'serialization' ...