![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
二叉查找树
文章平均质量分 74
LFJ17
Fighting
展开
-
lintcode——Convert BST to Greater Tree
1.题目 Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all keys greater than the original key in BST.原创 2017-05-18 18:00:48 · 328 阅读 · 0 评论 -
lintcode——在二叉查找树中插入节点
1.题目 给定一棵二叉查找树和一个新的树节点,将节点插入到树中。 你需要保证该树仍然是一棵二叉查找树。 注意事项 You can assume there is no duplicate values in this tree + node. 样例 给出如下一棵二叉查找树,在插入节点6之后这棵二叉查找树可以是这样的: 2原创 2017-05-18 17:01:27 · 358 阅读 · 0 评论 -
lintcode——二叉查找树总结
”原创 2017-05-18 23:28:51 · 369 阅读 · 0 评论