Concept Flow - Maximum Path Sum in Binary Tree
Start at root node
Compute max path sum from left subtree
Compute max path sum from right subtree
Calculate max path through current node
Update global max if current path sum is higher
Return max path sum including current node and one subtree
Repeat for all nodes via recursion
Final max path sum stored globally
The algorithm visits each node, calculates max path sums from left and right children, updates the global max path sum including the current node, and returns the max sum path extending to one child.