leetcode-297-Serialize and Deserialize Binary Tree

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zem_nezer/article/details/86674189

Error:
do not know how to do:
- actually we do not need to focus on the correct format like the description, we can construct my own way to do this.
- use ostringstream and istringstream, perform preorder traverse for the tree.(Also, we can use string for serialize)

猜你喜欢

转载自blog.csdn.net/zem_nezer/article/details/86674189