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-21 23:58:47 ·
314 阅读 ·
0 评论