Available question text
Partition an array of up to 16 numbers into k equal-size subsets with no duplicate within any subset, minimizing the sum of each subset's incompatibility (max − min), or return -1 if impossible. The core challenge is selecting disjoint valid subsets (exponentially many) to minimize total cost under the equal-size and uniqueness constraints.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1681. Minimum Incompatibility
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source