297. Serialize and Deserialize Binary Tree. Sol
懒得写了。。直接搬运一下官方答案
Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network connection link to be reconstructed later in the same or another computer environment.
Design an algorithm to serialize and deserialize a binary tree. There is no restriction on how your serialization/deserialization algorithm should work. You just need to ensure that a binary tre
297. Serialize and Deserialize Binary Tree. Sol最先出现在Python成神之路。
版权声明:
作者:lichengxin
链接:https://www.techfm.club/p/20105.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。
共有 0 条评论