AlgoMaster Logo

Path Sum II

tree=[5, 4, 8, 11, null, 13, 4, 7, 2, null, null, 5, 1],targetSum=22
0 / 21
algomaster.io
Step:Start: find every root-to-leaf path summing to 22