Min Incompatibility
Given an array and integer k, partition the array into k equal-sized subsets with distinct elements. Minimize the sum of each subset's incompatibility (max - min). Return -1 if impossible.
Given an array and integer k, partition the array into k equal-sized subsets with distinct elements. Minimize the sum of each subset's incompatibility (max - min). Return -1 if impossible.