摘要: Given a binary search tree and a new tree node, insert the node into the tree. You should keep the tree still be a valid binary search tree. Notice Yo 阅读全文
posted @ 2017-06-12 17:16 mximo 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 给出一棵二叉树,返回其节点值的层次遍历(逐层从左往右访问) 您在真实的面试中是否遇到过这个题? Yes 给出一棵二叉树,返回其节点值的层次遍历(逐层从左往右访问) 给出一棵二叉树,返回其节点值的层次遍历(逐层从左往右访问) 您在真实的面试中是否遇到过这个题? Yes Yes Yes 样例 给一棵二叉 阅读全文
posted @ 2017-06-12 16:53 mximo 阅读(176) 评论(0) 推荐(0) 编辑