AlgoMaster Logo

Path Sum III

tree=[10, 5, -3, 3, 2, null, 11, 3, -2, null, 1],targetSum=8
0 / 55
105-332113-21target = 0paths = 0prefixcount downward paths summing to 0
algomaster.io
Step:Start: count every downward path that sums to the target