Concept Flow - Maximum Path Sum in Binary Tree
Start at root node
Calculate max path sum from left subtree
Calculate max path sum from right subtree
Calculate max path sum passing through current node
Update global max if current path sum is greater
Return max path sum for one side + current node to parent
Repeat for all nodes
Final global max is the answer
We visit each node, find max path sums from left and right children, update global max with paths passing through the node, and return max single-side path sum to parent.