You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this program implements two functions:
1.mink(a,n,k): find the k smallest value in the array a with size n
2.maxsum(a,n): find the max sum of subarray of array a