K-th Largest Subarray OR Sum

Company: Mathworks

Difficulty: medium