30:00
Given the root of a binary tree and an integer targetSum, return all root-to-leaf paths where the sum of the node values in the path equals targetSum.
The number of nodes is in the range [0,5000][0, 5000][0,5000].
−1000≤Node.val≤1000-1000 \leq \text{Node.val} \leq 1000−1000≤Node.val≤1000
−1000≤targetSum≤1000-1000 \leq \text{targetSum} \leq 1000−1000≤targetSum≤1000
5
4
8
11
13
7
2
1