public int MaxPathSum(BST tree) { List <int> maxSumArray = findMaxSum(tree); return(maxSumArray[1]); }