This function Sets the target_leaf_ref to refer the leaf node of the maximum path sum . Also , returns the max_sum using max_sum_ref
public virtual void getTargetLeaf ( Node node , Maximum max_sum_ref , int curr_sum ) { if ( node == null ) { return ; }