摘要:
In a binary tree, a lonely node is a node that is the only child of its parent node. The root of the tree is not lonely because it does not have a par 阅读全文
posted @ 2021-07-19 09:17
苗妙苗
阅读(79)
评论(0)
推荐(0)
摘要:
A binary tree is univalued if every node in the tree has the same value. Return true if and only if the given tree is univalued. Example 1: Input: [1, 阅读全文
posted @ 2021-07-19 03:23
苗妙苗
阅读(28)
评论(0)
推荐(0)
摘要:
Given the root node of a binary search tree and two integers low and high, return the sum of values of all nodes with a value in the inclusive range [ 阅读全文
posted @ 2021-07-19 01:41
苗妙苗
阅读(41)
评论(0)
推荐(0)

浙公网安备 33010602011771号