
二叉查找树
文章平均质量分 61
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 · 376 阅读 · 0 评论 -
lintcode——在二叉查找树中插入节点
1.题目 给定一棵二叉查找树和一个新的树节点,将节点插入到树中。 你需要保证该树仍然是一棵二叉查找树。 注意事项 You can assume there is no duplicate values in this tree + node. 样例 给出如下一棵二叉查找树,在插入节点6之后这棵二叉查找树可以是这样的: 2原创 2017-05-18 17:01:27 · 413 阅读 · 0 评论 -
lintcode——二叉查找树总结
”原创 2017-05-18 23:28:51 · 424 阅读 · 0 评论