Minimize Array Sum After K Operations

Company: Mathworks_23feb

Difficulty: medium