
嵌套
文章平均质量分 83
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 297. Serialize and Deserialize Binary Tree(二叉树的序列化和反序列化)
原题网址:https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in原创 2016-04-16 15:44:04 · 2124 阅读 · 0 评论 -
LeetCode 341. Flatten Nested List Iterator(嵌套列表迭代器)
原题网址:https://leetcode.com/problems/flatten-nested-list-iterator/ Given a nested list of integers, implement an iterator to flatten it. Each element is either an integer, or a list -- whose ele原创 2016-04-30 10:15:08 · 1439 阅读 · 0 评论