Class Solution
-
- All Implemented Interfaces:
public final class Solution
-
-
Constructor Summary
Constructors Constructor Description Solution()
-
Method Summary
Modifier and Type Method Description final TreeNodesufficientSubset(TreeNode root, Integer limit)final IntegersufficientSubset(TreeNode root, Integer limit, Integer sum, Boolean isLeaf)-
-
Method Detail
-
sufficientSubset
final TreeNode sufficientSubset(TreeNode root, Integer limit)
-
-
-
-