GoComet interview question

Maximum subarray with sum K.