package main /** * * @param array int整型一维数组 * @return int整型 */ func FindGreatestSumOfSubArray( array []int ) int { // write code here max1, max2 := 0, 0 for i, v := range array { if i == 0 { max1, max2 = v, v continue } if max1 < max2 { max1 = max2 } if max2 +...