[LeetCode] 1038. Binary Search Tree to Greater Sum Tree 二叉搜索树到较大和树

Given the of 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
posted @ 2021-02-21 16:17  Grandyang  阅读(500)  评论(0编辑  收藏  举报
Fork me on GitHub