摘要:
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. N 阅读全文
posted @ 2019-10-16 10:58
xuan_abc
阅读(109)
评论(0)
推荐(0)
摘要:
Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only 阅读全文
posted @ 2019-10-16 10:11
xuan_abc
阅读(87)
评论(0)
推荐(0)
摘要:
Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the 阅读全文
posted @ 2019-10-16 09:28
xuan_abc
阅读(117)
评论(0)
推荐(0)

浙公网安备 33010602011771号