you give array integer num 0indexed integer kThe score subarray j define minnumsi numsi1 numsj j 1 a good subarray subarray k jReturn maximum possible score good subarray Example 1input num 143745 k 3Output 15explanation the optimal subarray 1 5 score min43745 511 3 5 15 Example 2input num 55454111 k 0output 20explanation the optimal subarray 0 4 score min55454 401 4 5 20 constraints1 numslength 1051 numsi 2 1040 k numslength