Given the root of a binary tree and an integer targetSum, return the number of paths whose node values add up to targetSum. A path does not have to start at the root or end at a leaf, but it must go downward, from parent nodes to child nodes.
Given the root of a binary tree and an integer targetSum, return the number of paths whose node values add up to targetSum. A path does not have to start at the root or end at a leaf, but it must go downward, from parent nodes to child nodes.