give integer array num integer k split nums k nonempty subarray large sum subarray minimizedreturn minimize large sum splitA subarray contiguous array Example 1input num 725108 k 2output 18explanation there way split num subarraysthe good way split 725 108 large sum subarray 18example 2input num 12345 k 2output 9explanation there way split num subarraysthe good way split 123 45 large sum subarray 9 Constraints1 numslength 10000 numsi 1061 k min50 numslength