摘要:
leetcode 1038. Binary Search Tree to Greater Sum Tree 题目:https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree/ 将一棵二叉树的每个节点的值变为,原有值+原树中 阅读全文
摘要:
leet code 1201. Ugly Number III. Write a program to find the n-th ugly number. Ugly numbers are positive integers which are divisible by a or b or c. 阅读全文