Given the root of a binary tree and an integer targetSum, return true if the tree has a root-to-leaf path such that adding up all node values equals targetSum.
[0, 10⁴].-1000 ≤ Node.val ≤ 1000-10⁷ ≤ target ≤ 10⁷DFS carrying the remaining sum: subtract the current node value on the way down.
true