Xin Tan

Results 1 comments of Xin Tan

@anthonyAndchen 题目明确说了“All values are negatives. Return an empty BST.” 所以主函数最后return maxSum之前需要check一下maxSum是不是负数,如果为负则return 0。