Minimum Group Sum Difference
Asked at DRW · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026
There is an array A consisting of N integers. Divide them into three non-empty groups. In each group, calculate the difference between the largest and smallest integer. Our goal is to make the maximum of these differences as small as possible.
Loading the problem…