Not able to understand the concept of branch sum. I am confused with branch sum and maxSum.
Maximum Sum Node to Node
hello @nikhil015
branch sum is holding the sum of branch where as maxsum is holding max possible sum in that branch.
both are different right?
its like one variable is holding total sum ,and another variable is holding maximum sum.
for more details u can refer this->link