Fork me on GitHub
摘要: 1.emplace() 函数和 emplace_back() 函数 C++11的STL中新增加了emplace() 函数和 emplace_back() 函数,用来实现insert() 函数和 push_back() 函数的功能。 如果容器中的元素是对象: emplace() 函数的功能是可以直接将 阅读全文
posted @ 2018-01-10 18:55 ranjiewen 阅读(637) 评论(0) 推荐(0)
摘要: 104. Maximum Depth of Binary Tree 题目 解析 "104. Maximum Depth of Binary Tree" 阅读全文
posted @ 2018-01-10 17:57 ranjiewen 阅读(219) 评论(0) 推荐(0)
摘要: "欢迎fork and star:Nowcoder Repository github" 106. Construct Binary Tree from Inorder and Postorder Traversal 题目 解析 题目来源 "106. Construct Binary Tree fr 阅读全文
posted @ 2018-01-10 17:00 ranjiewen 阅读(240) 评论(0) 推荐(0)