GoComet Interview Question

Maximum subarray with sum K.