Class Solution


  • public class Solution
    extends Object
    • Constructor Detail

      • Solution

        public Solution()
    • Method Detail

      • pathSum

        public int pathSum​(TreeNode root,
                           int targetSum)
      • helper

        public void helper​(TreeNode node,
                           int targetSum,
                           long currSum)