https://leetcode.com/problems/serialize-and-deserialize-binary-tree/?tab=Description
下面这个解法里面的C++部分很好:
https://discuss.leetcode.com/topic/28041/recursive-preorder-python-and-c-o-n
时间: 2024-10-19 23:33:21
https://leetcode.com/problems/serialize-and-deserialize-binary-tree/?tab=Description
下面这个解法里面的C++部分很好:
https://discuss.leetcode.com/topic/28041/recursive-preorder-python-and-c-o-n