
树
景行cmy
这个作者很懒,什么都没留下…
展开
-
297. Serialize and Deserialize Binary Tree c++ 层次遍历
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...原创 2019-03-26 21:42:42 · 286 阅读 · 0 评论 -
leetcode 1028. Recover a Tree From Preorder Traversal
We run apreorderdepth first search on the root of a binary tree. At each node in this traversal, we output D dashes (where D is the depth of this node), then we output the value of this node.(If ...原创 2019-09-11 10:01:28 · 113 阅读 · 0 评论