LeetCode 剑指 Offer 37. 序列化二叉树

string的erase pop_back() substr()可用于删除操作。
stoi将string转化为int

posted @ 2021-12-07 20:05  80k  阅读(26)  评论(0)    收藏  举报