The main function which returns sum of the maximum sum path between two leaves . This function mainly uses maxPathSumUtil ( )
int maxPathSum ( struct Node * root ) { int res = INT_MIN ; int val = maxPathSumUtil ( root , res ) ;