Minimum Beauty After Splitting an Array Into K Blocks

Company: Microsoft

Difficulty: medium