Misha array integer length n he wants choose k different continuous subarray element array belongs choose subarraysMisha wants choose subarray way calculate sum element subarray add sum result value maximum possible