java.lang.Object
g1001_1100.s1080_insufficient_nodes_in_root_to_leaf_paths.Solution

public class Solution extends Object
  • Constructor Details

    • Solution

      public Solution()
  • Method Details

    • sufficientSubset

      public TreeNode sufficientSubset(TreeNode root, int limit)
    • sufficientSubset

      public int sufficientSubset(TreeNode root, int limit, int sum, boolean isLeaf)